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, 1600, 
    1601, 1602, 1603, 1604, 1605, 1606, 
    1607, 1608, 1609, 1610, 1611, 1612, 
    1613, 1614, 1615, 1616, 1617, 1618, 
    1619, 1620, 1621, 1622, 1623
  ) 
  AND cscart_product_review_prepared_data.storefront_id = 0

Query time 0.00030

JSON explain

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