SELECT 
  product_id, 
  amount 
FROM 
  cscart_warehouses_destination_products_amount 
WHERE 
  product_id IN (
    51027, 51433, 51063, 51067, 51031, 51062, 
    51026, 51441, 51035, 51435, 51425, 
    51028, 51431, 51434, 51432, 51041, 
    51033, 51042, 51030, 51032, 51037, 
    51064, 51070, 51426, 51038, 51050, 
    51052, 51059, 51065, 51066, 51023, 
    51055
  ) 
  AND destination_id = 116 
  AND storefront_id = 1

Query time 0.00050

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "22.41"
    },
    "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": 32,
      "rows_produced_per_join": 32,
      "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 (51027,51433,51063,51067,51031,51062,51026,51441,51035,51435,51425,51028,51431,51434,51432,51041,51033,51042,51030,51032,51037,51064,51070,51426,51038,51050,51052,51059,51065,51066,51023,51055)))",
      "cost_info": {
        "read_cost": "19.21",
        "eval_cost": "3.20",
        "prefix_cost": "22.41",
        "data_read_per_join": "512"
      },
      "used_columns": [
        "destination_id",
        "storefront_id",
        "product_id",
        "amount"
      ]
    }
  }
}

Result

product_id amount
51023 5
51026 5
51027 2
51028 3
51030 1
51031 2
51032 2
51033 1
51035 1
51037 1
51038 1
51041 5
51042 5
51050 5
51052 2
51055 5
51059 20
51062 4
51063 5
51064 5
51065 5
51066 5
51067 5
51070 2
51425 5
51426 3
51431 19
51432 1
51433 1
51434 1
51435 1
51441 1