SELECT 
  product_id, 
  amount 
FROM 
  cscart_warehouses_destination_products_amount 
WHERE 
  product_id IN (
    51492, 51513, 51462, 51474, 51502, 51515, 
    51466, 51465, 51485, 51528, 51512, 
    51518, 51527, 51482, 51511, 51505, 
    51493, 51535
  ) 
  AND destination_id = 116 
  AND storefront_id = 1

Query time 0.00035

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 (51492,51513,51462,51474,51502,51515,51466,51465,51485,51528,51512,51518,51527,51482,51511,51505,51493,51535)))",
      "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
51462 4
51465 4
51466 4
51474 4
51482 2
51485 1
51492 1
51493 3
51502 3
51505 5
51511 5
51512 5
51513 5
51515 3
51518 7
51527 5
51528 5
51535 3