SELECT
product_id,
amount
FROM
cscart_warehouses_destination_products_amount
WHERE
product_id IN (
846, 845, 844, 832, 829, 828, 822, 817,
816, 662, 814, 806, 805, 804, 803, 802,
801, 800, 799, 798, 797, 796, 795, 792,
787, 786, 782, 819, 781, 765, 764, 763,
762, 760, 758, 752, 751, 750, 749, 747,
744, 743, 742, 741, 732, 731, 727, 725,
724, 723, 809, 810, 720, 718, 717, 716,
715, 713, 709, 708, 707, 705, 701, 697,
696, 695, 693, 682, 676, 673, 671, 670,
664, 663, 658, 657, 656, 651, 650, 647,
645, 644, 641, 639, 636, 624, 622, 620,
619, 618, 616, 615, 608, 607, 600, 377
)
AND destination_id = 9
AND storefront_id = 0