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 (
387065, 387064, 387063, 387062, 387061,
387060, 387059, 387058, 387057, 387056,
387055, 387054, 387052, 387045, 387044,
387043, 387042, 387041, 387040, 387039
)
AND cscart_product_review_prepared_data.storefront_id = 0