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 (
    5628, 5629, 5630, 5631, 5632, 5633, 5634, 
    5635, 5636, 5637, 5638, 5639, 5640, 
    5641, 5642, 5643, 5644, 5645, 5646, 
    5647, 5648, 5649, 5650, 5651, 5652, 
    5653, 5654, 5655, 5656, 5657, 5658, 
    5659, 5660, 5661, 5662, 5663, 5664, 
    5665, 5666, 5667, 3137, 1473, 1474, 
    1475, 1476, 1477, 5182, 5183
  ) 
  AND cscart_product_review_prepared_data.storefront_id = 0

Query time 0.00174

JSON explain

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