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 (
    5540, 5541, 5542, 5543, 5544, 5545, 5546, 
    5547, 5548, 5549, 5550, 5551, 5552, 
    5553, 5554, 5555, 5556, 5557, 5558, 
    5559, 1457, 5166, 1447, 5156, 5169, 
    3162, 1450, 5159, 1440, 5149, 1451, 
    5160, 1441, 5150, 1453, 5162, 1443, 
    5152, 1770, 1771, 1772, 1773, 1774, 
    1775, 1776, 1777, 1778, 1779
  ) 
  AND cscart_product_review_prepared_data.storefront_id = 0

Query time 0.00023

JSON explain

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