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 (
389274, 389367, 435293, 389342, 389774,
427193, 389629, 389113, 388774, 389434,
381759, 415317, 422414, 388755, 388925,
389215, 389488, 389610, 389226, 388495
)
AND cscart_product_review_prepared_data.storefront_id = 0