SELECT 
  product_id, 
  amount 
FROM 
  cscart_warehouses_destination_products_amount 
WHERE 
  product_id IN (
    12748, 15130, 2282, 2723, 15152, 15153, 
    2725, 2728, 2732, 2729, 2722, 15126, 
    2828, 2714, 2715, 2716, 2717, 2713, 
    2623, 2622, 15128, 2724, 2726, 2727, 
    2730, 15151, 15150, 15423, 3216, 2718
  ) 
  AND destination_id = 12 
  AND storefront_id = 0

Query time 0.00041

JSON explain

{
  "query_block": {
    "select_id": 1,
    "table": {
      "table_name": "cscart_warehouses_destination_products_amount",
      "access_type": "range",
      "possible_keys": ["PRIMARY", "idx_storefront_id"],
      "key": "PRIMARY",
      "key_length": "9",
      "used_key_parts": ["product_id", "destination_id", "storefront_id"],
      "rows": 30,
      "filtered": 100,
      "index_condition": "cscart_warehouses_destination_products_amount.destination_id = 12 and cscart_warehouses_destination_products_amount.storefront_id = 0 and cscart_warehouses_destination_products_amount.product_id in (12748,15130,2282,2723,15152,15153,2725,2728,2732,2729,2722,15126,2828,2714,2715,2716,2717,2713,2623,2622,15128,2724,2726,2727,2730,15151,15150,15423,3216,2718)"
    }
  }
}

Result

product_id amount
2282 5
2622 30
2623 2
2713 12
2714 30
2715 36
2716 54
2717 5
2718 30
2722 4
2723 4
2724 12
2725 21
2726 76
2727 2
2728 7
2729 29
2730 32
2732 22
2828 0
3216 15
12748 5
15152 24
15153 24