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 (
389822, 415384, 415526, 388396, 388725,
388794, 389025, 389273, 389056, 389538,
389564, 388897, 388812, 388821, 415715,
388501, 388859, 389489, 388753, 388827
)
AND cscart_product_review_prepared_data.storefront_id = 0