SELECT 
  product_id, 
  amount 
FROM 
  cscart_warehouses_destination_products_amount 
WHERE 
  product_id IN (
    128, 51118, 51117, 51116, 51115, 51114, 
    51113, 51124, 49, 51132, 51131, 51134, 
    51133, 51130, 41, 51155, 51154, 51153, 
    51152, 21, 51169, 51168, 51167, 51166, 
    90, 51171, 51170, 51183, 20, 51188, 
    51187, 51186, 51185, 51184, 51243, 
    51242, 51241, 51240, 51239, 36, 51294, 
    51293, 51292, 51291, 51290, 94, 18, 
    81, 51318, 51317, 51316, 51315, 51, 
    51319, 106, 58, 86, 15, 95, 51356, 51355, 
    44, 31, 51366, 51367, 51368, 51369
  ) 
  AND destination_id = 116 
  AND storefront_id = 1

Query time 0.00092

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "46.91"
    },
    "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": 67,
      "rows_produced_per_join": 67,
      "filtered": "100.00",
      "index_condition": "((`test_uchur_k`.`cscart_warehouses_destination_products_amount`.`storefront_id` = 1) and (`test_uchur_k`.`cscart_warehouses_destination_products_amount`.`destination_id` = 116) and (`test_uchur_k`.`cscart_warehouses_destination_products_amount`.`product_id` in (128,51118,51117,51116,51115,51114,51113,51124,49,51132,51131,51134,51133,51130,41,51155,51154,51153,51152,21,51169,51168,51167,51166,90,51171,51170,51183,20,51188,51187,51186,51185,51184,51243,51242,51241,51240,51239,36,51294,51293,51292,51291,51290,94,18,81,51318,51317,51316,51315,51,51319,106,58,86,15,95,51356,51355,44,31,51366,51367,51368,51369)))",
      "cost_info": {
        "read_cost": "40.21",
        "eval_cost": "6.70",
        "prefix_cost": "46.91",
        "data_read_per_join": "1K"
      },
      "used_columns": [
        "destination_id",
        "storefront_id",
        "product_id",
        "amount"
      ]
    }
  }
}

Result

product_id amount
15 31
18 34
20 2
21 2
31 3
36 3
41 3
44 4
49 1
51 2
58 35
81 31
86 27
90 1
94 1
95 13
106 22
128 3
51113 2
51114 2
51115 3
51116 2
51117 2
51118 1
51124 0
51130 8
51131 6
51132 8
51133 2
51134 2
51152 2
51153 2
51154 3
51155 1
51166 1
51167 1
51168 1
51169 1
51170 1
51171 1
51183 1
51184 3
51185 5
51186 4
51187 2
51188 2
51239 3
51240 2
51241 2
51242 2
51243 1
51290 1
51291 1
51292 0
51293 1
51294 1
51315 0
51316 2
51317 1
51318 2
51319 2
51355 4
51356 4
51366 4
51367 4
51368 3
51369 2