SELECT
product_id,
amount
FROM
cscart_warehouses_destination_products_amount
WHERE
product_id IN (
525, 521, 517, 513, 507, 497, 492, 489,
486, 482, 455, 453, 452, 451, 450, 449,
448, 447, 446, 445, 444, 443, 442, 394,
378, 377
)
AND destination_id = 9
AND storefront_id = 0