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 (
    5134, 5135, 1452, 5161, 1442, 5151, 6734, 
    6733, 6729, 6710, 1721, 1722, 1723, 
    1724, 1725, 1726, 1727, 1728, 1729, 
    1730, 1731, 1732, 1733, 1734
  ) 
  AND cscart_product_review_prepared_data.storefront_id = 0

Query time 0.00020

JSON explain

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