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 (
    10517, 10518, 10519, 10520, 10521, 10522, 
    10523, 10524, 10525, 10526, 10527, 
    10528, 10529, 10530, 10531, 10532, 
    10533, 10534, 10535, 10536, 10537, 
    10538, 10539, 10659
  ) 
  AND cscart_product_review_prepared_data.storefront_id = 0

Query time 0.00023

JSON explain

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