SELECT 
  cscart_product_prices.product_id, 
  MIN(
    IF(
      cscart_product_prices.percentage_discount = 0, 
      cscart_product_prices.price, 
      cscart_product_prices.price - (
        cscart_product_prices.price * cscart_product_prices.percentage_discount
      )/ 100
    )
  ) AS price 
FROM 
  cscart_product_prices 
WHERE 
  cscart_product_prices.product_id IN (
    33725, 33723, 33724, 34053, 50444, 25850, 
    26657, 1054, 350, 351, 36474, 2248, 
    2247, 2251, 36307, 1050, 2252, 3988, 
    36297, 2249, 353, 33721, 2260, 41230, 
    18710, 36299, 36475, 45597, 50235, 
    50234
  ) 
  AND cscart_product_prices.lower_limit = 1 
  AND cscart_product_prices.usergroup_id IN (0, 1) 
GROUP BY 
  cscart_product_prices.product_id

Query time 0.00963

JSON explain

{
  "query_block": {
    "select_id": 1,
    "nested_loop": [
      {
        "table": {
          "table_name": "cscart_product_prices",
          "access_type": "range",
          "possible_keys": [
            "usergroup",
            "product_id",
            "lower_limit",
            "usergroup_id"
          ],
          "key": "product_id",
          "key_length": "3",
          "used_key_parts": ["product_id"],
          "rows": 30,
          "filtered": 99.9960556,
          "index_condition": "cscart_product_prices.product_id in (33725,33723,33724,34053,50444,25850,26657,1054,350,351,36474,2248,2247,2251,36307,1050,2252,3988,36297,2249,353,33721,2260,41230,18710,36299,36475,45597,50235,50234)",
          "attached_condition": "cscart_product_prices.lower_limit = 1 and cscart_product_prices.usergroup_id in (0,1)"
        }
      }
    ]
  }
}

Result

product_id price
350 6000000.0000
351 6000000.0000
353 5000000.0000
1050 3450000.0000
1054 2400000.0000
2247 5000000.0000
2248 6000000.0000
2249 2850000.0000
2251 15500000.0000
2252 6000000.0000
2260 15500000.0000
3988 1155000.0000
18710 1595000.0000
25850 6000000.0000
26657 8500000.0000
33721 1500000.0000
33723 2500000.0000
33724 3500000.0000
33725 2000000.0000
34053 2500000.0000
36297 2500000.0000
36299 2200000.0000
36307 1200000.0000
36474 1600000.0000
36475 1460000.0000
41230 1200000.0000
45597 5000000.0000
50234 1200000.0000
50235 1200000.0000
50444 2000000.0000