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 (
    51514, 51520, 51538, 51468, 51476, 51503, 
    51541, 51492, 51513, 51522, 51539, 
    51491, 51499, 51474, 51515, 51502, 
    51519, 51466, 51518, 51509, 51508, 
    51485, 51550, 51465, 51524, 51528, 
    51504, 51512, 51527, 51511, 51482, 
    51046
  ) 
  AND cscart_product_review_prepared_data.storefront_id = 1

Query time 0.00019

JSON explain

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