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 (
    5087, 5088, 5089, 5090, 5091, 5092, 5093, 
    5094, 5095, 5096, 5097, 5098, 5099, 
    5100, 5101, 5102, 5103, 5104, 5105, 
    5106
  ) 
  AND cscart_product_review_prepared_data.storefront_id = 0

Query time 0.00019

JSON explain

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