SELECT 
  product_id, 
  amount 
FROM 
  cscart_warehouses_destination_products_amount 
WHERE 
  product_id IN (
    51329, 51328, 51327, 50985, 51331, 51330, 
    50986, 51332, 51339, 51338, 51337, 
    51336, 50988
  ) 
  AND destination_id = 116 
  AND storefront_id = 1

Query time 0.00040

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "9.11"
    },
    "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": 13,
      "rows_produced_per_join": 13,
      "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 (51329,51328,51327,50985,51331,51330,50986,51332,51339,51338,51337,51336,50988)))",
      "cost_info": {
        "read_cost": "7.81",
        "eval_cost": "1.30",
        "prefix_cost": "9.11",
        "data_read_per_join": "208"
      },
      "used_columns": [
        "destination_id",
        "storefront_id",
        "product_id",
        "amount"
      ]
    }
  }
}

Result

product_id amount
50985 6
50986 10
50988 6
51327 10
51328 10
51329 6
51330 10
51331 10
51332 10
51336 10
51337 10
51338 10
51339 6