SELECT
product_id,
amount
FROM
cscart_warehouses_sum_products_amount
WHERE
1
AND product_id IN (
814, 798, 797, 795, 765, 764, 763, 762,
809, 810, 715, 709, 708, 705, 697, 696,
695, 693, 682, 676, 622, 620, 619, 615,
608, 607, 600, 212, 209, 206, 196, 187,
184, 181, 177, 154, 151
)