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 (
389383, 389406, 389520, 389423, 389225,
389199, 389424, 435241, 389256, 429392,
381743, 435252, 388364, 389301, 390097,
429396, 388365, 389479, 389345, 389257
)
AND cscart_product_review_prepared_data.storefront_id = 0