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 (
    5439, 5440, 5441, 5442, 5443, 5444, 5445, 
    5446, 5447, 5448, 5449, 5450, 5451, 
    5452, 5453, 5454, 5455, 5456, 5457, 
    5458, 5459, 5460, 6727, 1672
  ) 
  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"
  }
}