SELECT 
  product_id, 
  amount 
FROM 
  cscart_warehouses_destination_products_amount 
WHERE 
  product_id IN (
    21088, 20980, 21071, 21074, 21072, 21073, 
    21076, 21119, 21166, 21116, 21117, 
    21118, 21087, 21120, 21096, 21113, 
    21097, 21114, 21105, 21108, 21106, 
    21098, 21110, 21111
  ) 
  AND destination_id = 115 
  AND storefront_id = 0

Query time 0.00062

JSON explain

{
  "query_block": {
    "select_id": 1,
    "table": {
      "table_name": "cscart_warehouses_destination_products_amount",
      "access_type": "range",
      "possible_keys": ["PRIMARY", "idx_storefront_id"],
      "key": "PRIMARY",
      "key_length": "9",
      "used_key_parts": ["product_id", "destination_id", "storefront_id"],
      "rows": 24,
      "filtered": 75,
      "index_condition": "cscart_warehouses_destination_products_amount.destination_id = 115 and cscart_warehouses_destination_products_amount.storefront_id = 0 and cscart_warehouses_destination_products_amount.product_id in (21088,20980,21071,21074,21072,21073,21076,21119,21166,21116,21117,21118,21087,21120,21096,21113,21097,21114,21105,21108,21106,21098,21110,21111)"
    }
  }
}

Result

product_id amount
20980 1
21071 4
21072 1
21073 3
21074 1
21076 1
21087 1
21088 2
21096 7
21097 3
21098 2
21105 120
21106 15
21108 1
21110 1
21111 4
21113 145
21114 6
21116 3
21117 36
21118 59
21119 1
21120 143
21166 3