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 (
262440, 264695, 264694, 264697, 339741,
339622, 339616, 339574, 339740, 339692,
339609, 339737, 339573, 339621, 339620,
339587, 339611, 339617, 339742, 339710
)
AND cscart_product_review_prepared_data.storefront_id = 0