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 (
1462, 1463, 1464, 1465, 5170, 5171, 5172,
5173, 5174, 5175, 1878, 1879, 1880,
1881, 1882, 1883, 1884, 1885, 1886,
1887, 1888, 1889, 1890, 1891, 1892,
1893, 1894, 1895, 1896, 1897, 1898,
1899, 1900, 1901, 1902, 1903, 1904,
1905, 1906, 1907, 1908, 1909, 1910,
1911, 1912, 1913, 1914, 1915, 1916,
1917, 1918, 1919, 1920, 1921, 1922,
1923, 1924, 1925, 1926, 1927, 1928,
1929, 1930, 1931, 5560, 5561, 5562,
5563, 5564, 5565, 5566, 5567, 5568,
5569, 5570, 5571, 5572, 5573, 5574,
5575, 5576, 5577, 5578, 5579, 5580,
5581, 5582, 5583, 5584, 5585, 5586,
5587, 5588, 5589, 5590, 5591
)
AND cscart_product_review_prepared_data.storefront_id = 0