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 (
    1431, 360, 1479, 1478, 414, 1866, 1427, 
    788, 1084, 1407, 1903, 1452, 1453, 538, 
    1864, 1863, 1461, 1199, 1943, 1901, 
    1200, 1212, 1939, 1211
  ) 
  AND cscart_product_review_prepared_data.storefront_id = 0

Query time 0.00043

JSON explain

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