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 (
    5248, 5249, 5250, 5251, 5252, 5253, 5254, 
    5255, 5256, 5257, 5258, 5259, 5260, 
    5261, 5262, 5263, 5264, 5265, 5266, 
    5267, 5268, 5269, 5270, 5271
  ) 
  AND cscart_product_review_prepared_data.storefront_id = 0

Query time 0.00024

JSON explain

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