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 (
1858, 1859, 1860, 1861, 1862, 1863, 1864,
1865, 1866, 1867, 1868, 1869, 1870,
1871, 1872, 1874, 1875, 1876, 1877,
3748, 3749, 3750, 3751, 5505, 5506,
5507, 5508, 5509, 5510, 5511, 5512,
5513, 5514, 5515, 5516, 5517, 5518,
5519, 5520, 5521, 5522, 5523, 5524,
5525, 5526, 5527, 5528, 5529, 5530,
5531, 5532, 5533, 5534, 5535, 5536,
5537, 5538, 5539, 5540, 5541, 5542,
5543, 5544, 5545, 5546, 5547, 5548,
5549, 5550, 5551, 5552, 5553, 5554,
5555, 5556, 5557, 5558, 5559, 1457,
5166, 1447, 5156, 5169, 3162, 1450,
5159, 1440, 5149, 1451, 5160, 1441,
5150, 1453, 5162, 1443, 5152
)
AND cscart_product_review_prepared_data.storefront_id = 0