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 (
396008, 395983, 309587, 395989, 414436,
414408, 414393, 431514, 396058, 396078,
396044, 431590, 414422, 431659, 359772,
309590, 359805, 309585, 431542, 396002
)
AND cscart_product_review_prepared_data.storefront_id = 0