SELECT 
  product_id, 
  amount 
FROM 
  cscart_warehouses_destination_products_amount 
WHERE 
  product_id IN (
    12498, 15432, 3317, 3314, 3319, 3316, 
    3320, 3318, 3315, 3321, 3322, 3298, 
    3299, 3329, 3330, 3306, 3305, 3304, 
    3325, 3289, 3287, 3283, 3284, 3285, 
    3286, 3292, 3291, 3300, 3301, 3302, 
    3326, 3295, 3294, 3327, 3297, 3307, 
    3309, 3308, 3293, 3288, 3290, 3303, 
    3310, 3324, 3323, 13136, 3922, 15904
  ) 
  AND destination_id = 12 
  AND storefront_id = 0

Query time 0.00079

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "33.61"
    },
    "table": {
      "table_name": "cscart_warehouses_destination_products_amount",
      "access_type": "range",
      "possible_keys": [
        "PRIMARY",
        "idx_storefront_id"
      ],
      "key": "PRIMARY",
      "used_key_parts": [
        "product_id",
        "destination_id",
        "storefront_id"
      ],
      "key_length": "9",
      "rows_examined_per_scan": 48,
      "rows_produced_per_join": 48,
      "filtered": "100.00",
      "index_condition": "((`dev_yourmart_co_bw`.`cscart_warehouses_destination_products_amount`.`storefront_id` = 0) and (`dev_yourmart_co_bw`.`cscart_warehouses_destination_products_amount`.`destination_id` = 12) and (`dev_yourmart_co_bw`.`cscart_warehouses_destination_products_amount`.`product_id` in (12498,15432,3317,3314,3319,3316,3320,3318,3315,3321,3322,3298,3299,3329,3330,3306,3305,3304,3325,3289,3287,3283,3284,3285,3286,3292,3291,3300,3301,3302,3326,3295,3294,3327,3297,3307,3309,3308,3293,3288,3290,3303,3310,3324,3323,13136,3922,15904)))",
      "cost_info": {
        "read_cost": "28.81",
        "eval_cost": "4.80",
        "prefix_cost": "33.61",
        "data_read_per_join": "768"
      },
      "used_columns": [
        "destination_id",
        "storefront_id",
        "product_id",
        "amount"
      ]
    }
  }
}

Result

product_id amount
3922 0