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 (
    5623, 5624, 5625, 5626, 5627, 5628, 5629, 
    5630, 5631, 5632, 5633, 5634, 5635, 
    5636, 5637, 5638, 5639, 5640, 5641, 
    5642, 5643, 5644, 5645, 5646
  ) 
  AND cscart_product_review_prepared_data.storefront_id = 0

Query time 0.00031

JSON explain

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