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 (
    397, 511, 1023, 1022, 847, 525, 577, 576, 
    658, 659, 932, 656, 657, 376, 540, 592, 
    1015, 767, 1088, 572, 619, 355, 342, 
    547, 591, 902, 323, 757, 1236, 1225, 
    294, 47, 48, 356, 1293, 1242, 846, 593, 
    616, 1087, 520, 548, 899
  ) 
  AND cscart_product_review_prepared_data.storefront_id = 0

Query time 0.00046

JSON explain

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