SELECT 
  cscart_product_review_prepared_data.product_id AS product_id, 
  cscart_product_review_prepared_data.average_rating AS average_rating, 
  cscart_product_review_prepared_data.reviews_count AS reviews_count 
FROM 
  cscart_product_review_prepared_data 
WHERE 
  cscart_product_review_prepared_data.product_id IN (
    5740, 5741, 5742, 5743, 5744, 5745, 5746, 
    5747, 5748, 5749, 5750, 5751, 5752, 
    5753, 5754, 5755, 5756, 5757, 5758, 
    5759, 5760, 5761, 5762, 5763
  ) 
  AND cscart_product_review_prepared_data.storefront_id = 0

Query time 0.00019

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "Impossible WHERE noticed after reading const tables"
  }
}