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 (
12, 17, 286, 287, 288, 148, 180, 187, 232,
230, 231, 18, 16, 4, 5, 23, 24, 170, 1,
22, 149, 227, 78, 79, 190, 189, 162, 159,
158, 245, 238, 239, 242, 243, 241, 240,
214, 217, 218, 207, 59, 58, 60, 199, 198,
94, 96, 201, 114, 192, 136, 130, 128,
126, 131, 177, 186, 185, 179, 11, 172,
134, 135, 195, 233, 168, 167, 169, 42,
39, 40, 205, 37, 152, 160, 74, 73, 71,
75, 72, 108, 237, 191, 235, 70, 122, 115,
156, 90, 175, 196, 43, 104, 76, 129, 127
)
AND cscart_product_review_prepared_data.storefront_id = 0