SELECT
product_id,
amount
FROM
cscart_warehouses_destination_products_amount
WHERE
product_id IN (
846, 832, 829, 828, 817, 816, 787, 819,
781, 760, 758, 752, 751, 750, 749, 747,
732, 731, 725, 724, 723, 717, 707, 673,
650, 647, 645, 644, 641, 639, 636, 624,
618, 616, 210, 197, 155, 51
)
AND destination_id = 9
AND storefront_id = 0