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 (
    5334, 5335, 5336, 5337, 5338, 5339, 5340, 
    5341, 5342, 5343, 5344, 5345, 5346, 
    5347, 5348, 5349, 5350, 5351, 5352, 
    2832, 2833, 2834, 2835, 6417
  ) 
  AND cscart_product_review_prepared_data.storefront_id = 0

Query time 0.00033

JSON explain

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