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 (
276654, 276655, 276656, 276657, 276658,
276659, 276660, 276661, 276662, 276663,
276664, 276665, 276666, 276667, 276668,
276669, 276670, 276671, 276672, 276673
)
AND cscart_product_review_prepared_data.storefront_id = 0