SELECT 
  product_id, 
  amount 
FROM 
  cscart_warehouses_destination_products_amount 
WHERE 
  product_id IN (
    82, 17, 56, 126, 51295, 117, 116, 115, 
    81, 11, 51326, 135, 106, 105, 57, 51496, 
    51497, 51498
  ) 
  AND destination_id = 116 
  AND storefront_id = 1

Query time 0.00044

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "12.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": 18,
      "rows_produced_per_join": 18,
      "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 (82,17,56,126,51295,117,116,115,81,11,51326,135,106,105,57,51496,51497,51498)))",
      "cost_info": {
        "read_cost": "10.81",
        "eval_cost": "1.80",
        "prefix_cost": "12.61",
        "data_read_per_join": "288"
      },
      "used_columns": [
        "destination_id",
        "storefront_id",
        "product_id",
        "amount"
      ]
    }
  }
}

Result

product_id amount
11 100
17 32
56 103
57 35
81 31
105 25
106 22
115 7
116 3
117 13
126 108
135 6
51295 13
51326 6
51496 30
51497 30
51498 30