SELECT
product_id,
amount
FROM
cscart_warehouses_destination_products_amount
WHERE
product_id IN (
111, 125, 129, 131, 140, 142, 146, 149,
150, 177, 181, 182, 183, 184, 193, 194,
211, 212, 213, 214, 215, 216, 217, 218,
224, 225, 233, 234, 237, 238, 258, 259,
273, 274, 293, 294
)
AND destination_id = 12
AND storefront_id = 2