SELECT 
  product_id, 
  amount 
FROM 
  cscart_warehouses_destination_products_amount 
WHERE 
  product_id IN (
    51132, 51131, 51134, 51133, 51130, 41, 
    51146, 51145, 38, 51148, 51147, 51151, 
    51150, 51149, 37, 51169, 51168, 51167, 
    51166, 90, 51171, 51170, 51209, 51208, 
    51207, 51206, 124, 51221, 137, 51224, 
    51223, 51222, 126, 115, 81, 11, 51357, 
    79, 51360, 51359, 51358, 51361, 30, 
    51362, 51363, 51364, 51365, 31, 51366, 
    51367, 51368, 51369, 140, 51385, 51386, 
    51387, 51388, 51389, 88, 51395, 51396, 
    51397, 51555, 51556, 80, 51398, 51399
  ) 
  AND destination_id = 116 
  AND storefront_id = 1

Query time 0.00063

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 (51132,51131,51134,51133,51130,41,51146,51145,38,51148,51147,51151,51150,51149,37,51169,51168,51167,51166,90,51171,51170,51209,51208,51207,51206,124,51221,137,51224,51223,51222,126,115,81,11,51357,79,51360,51359,51358,51361,30,51362,51363,51364,51365,31,51366,51367,51368,51369,140,51385,51386,51387,51388,51389,88,51395,51396,51397,51555,51556,80,51398,51399)))",
      "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
11 100
30 4
31 3
37 1
38 2
41 3
79 0
80 3
81 31
88 18
90 1
115 7
124 7
126 108
137 1
140 7
51130 8
51131 6
51132 8
51133 2
51134 2
51145 7
51146 6
51147 4
51148 1
51149 1
51150 1
51151 0
51166 1
51167 1
51168 1
51169 1
51170 1
51171 1
51206 5
51207 9
51208 4
51209 3
51221 1
51222 0
51223 1
51224 1
51357 10
51358 9
51359 7
51360 2
51361 4
51362 6
51363 6
51364 3
51365 1
51366 4
51367 4
51368 3
51369 2
51385 10
51386 9
51387 9
51388 5
51389 5
51395 22
51396 11
51397 9
51398 1
51399 3
51555 10
51556 9