SELECT 
  product_id, 
  amount 
FROM 
  cscart_warehouses_destination_products_amount 
WHERE 
  product_id IN (
    145, 277, 139, 282, 179, 280, 148, 144, 
    143, 141, 111, 147, 213, 150, 216, 149, 
    258, 146, 233, 193, 225, 129, 383, 131, 
    257, 135, 132, 134, 127, 260, 262
  ) 
  AND destination_id = 12 
  AND storefront_id = 2