SELECT
product_id,
amount
FROM
cscart_warehouses_sum_products_amount
WHERE
1
AND product_id IN (
846, 817, 816, 787, 819, 781, 760, 758,
752, 751, 750, 749, 747, 732, 731, 723,
717, 707, 673, 650, 647, 644, 641, 639,
636, 624, 616, 210, 197, 155, 51
)