SELECT
product_id,
amount
FROM
cscart_warehouses_destination_products_amount
WHERE
product_id IN (
286, 278, 280, 282, 247, 248, 241, 244,
245, 246, 240, 6, 66, 166, 214, 219, 221,
223, 192, 194, 195, 196, 197, 198, 199,
200, 201, 202, 203, 204, 205, 206, 207,
208, 209, 210, 211, 212, 213, 215, 217,
218, 220, 222, 224, 225, 226, 227
)
AND destination_id = 7
AND storefront_id = 0