SELECT
product_id,
amount
FROM
cscart_warehouses_sum_products_amount
WHERE
1
AND product_id IN (
822, 662, 806, 805, 804, 803, 802, 801,
800, 799, 796, 792, 786, 782, 744, 743,
742, 741, 727, 720, 718, 716, 713, 701,
671, 670, 664, 663, 658, 657, 656, 651,
377, 371, 369, 368, 362, 228, 219, 218,
217, 211, 207, 204, 202, 195, 192, 189,
71, 10, 9
)