SELECT 
  product_id, 
  amount 
FROM 
  cscart_warehouses_destination_products_amount 
WHERE 
  product_id IN (
    21567, 51083, 51084, 22715, 51082, 51085, 
    51081, 51096, 51097, 51098, 51100, 
    51099, 22716, 51123, 51122, 51121, 
    51120, 51119, 92, 51124, 49, 51129, 
    51128, 51127, 51126, 51125, 48, 51176, 
    51175, 51174, 51173, 51172, 91, 51221, 
    137, 51224, 51223, 51222, 126, 51343, 
    51342, 51341, 51340, 47, 105, 50989, 
    31, 51366, 51367, 51368, 51369, 46, 
    51370, 51371, 51372, 51373, 51452, 
    51453, 88, 51395, 51396, 51397, 51555, 
    51556, 51496
  ) 
  AND destination_id = 116 
  AND storefront_id = 1

Query time 0.00117

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "45.51"
    },
    "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": 65,
      "rows_produced_per_join": 65,
      "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 (21567,51083,51084,22715,51082,51085,51081,51096,51097,51098,51100,51099,22716,51123,51122,51121,51120,51119,92,51124,49,51129,51128,51127,51126,51125,48,51176,51175,51174,51173,51172,91,51221,137,51224,51223,51222,126,51343,51342,51341,51340,47,105,50989,31,51366,51367,51368,51369,46,51370,51371,51372,51373,51452,51453,88,51395,51396,51397,51555,51556,51496)))",
      "cost_info": {
        "read_cost": "39.01",
        "eval_cost": "6.50",
        "prefix_cost": "45.51",
        "data_read_per_join": "1K"
      },
      "used_columns": [
        "destination_id",
        "storefront_id",
        "product_id",
        "amount"
      ]
    }
  }
}

Result

product_id amount
31 3
46 6
47 2
48 1
49 1
88 18
91 1
92 1
105 25
126 108
137 1
22715 2
22716 5
50989 13
51081 8
51082 8
51083 3
51084 0
51085 1
51096 8
51097 8
51098 5
51099 2
51100 2
51119 0
51120 0
51121 2
51122 1
51123 2
51124 0
51125 5
51126 5
51127 3
51128 2
51129 2
51172 3
51173 3
51174 1
51175 0
51176 1
51221 1
51222 0
51223 1
51224 1
51340 1
51341 1
51342 1
51343 1
51366 4
51367 4
51368 3
51369 2
51370 3
51371 10
51372 5
51373 13
51395 22
51396 11
51397 9
51452 8
51453 10
51496 30
51555 10
51556 9