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 (
1285, 1283, 1284, 1282, 1401, 1402, 1403,
1384, 727, 729, 726, 1583, 251, 237,
238, 373, 372, 339, 365, 236, 786, 381,
389, 1914, 1321, 1368, 1877, 1876, 1878,
1806, 1794, 1807, 1884, 1886, 1889,
1890, 1881, 1879, 1880, 1882, 1888,
1871, 1887, 715, 714, 1485, 1915, 345,
1451, 1183, 18, 17, 19, 1814, 1813, 1874,
1875, 974, 1574, 1575, 1812, 1811, 1507,
1853, 1856, 1918, 1919, 1862, 1861,
1857, 1883, 1860, 1859, 1854, 1923,
1858, 1922, 1855, 1920, 1469, 344, 1850,
1551, 284, 1885, 1628, 1625, 1475, 1276,
1312, 1303, 74, 1161, 75, 182, 161
)
AND cscart_product_review_prepared_data.storefront_id = 0