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 (
387038, 387037, 387036, 387035, 387034,
387033, 387032, 387031, 387030, 387029,
387028, 387027, 387026, 387025, 387024,
387023, 387022, 387021, 387020, 387019
)
AND cscart_product_review_prepared_data.storefront_id = 0