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, 854, 33724, 856, 34053, 858, 462, 
    35734, 6468, 1750, 6545, 4271, 5769, 
    4272, 1751, 461, 4268, 4267, 5775, 41616, 
    5771, 41226, 5768, 33721, 1753, 35475, 
    40312, 47855, 35470, 35471, 49290, 
    48939
  ) 
  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.00168

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": 32,
          "filtered": 99.9960556,
          "index_condition": "cscart_product_prices.product_id in (33725,854,33724,856,34053,858,462,35734,6468,1750,6545,4271,5769,4272,1751,461,4268,4267,5775,41616,5771,41226,5768,33721,1753,35475,40312,47855,35470,35471,49290,48939)",
          "attached_condition": "cscart_product_prices.lower_limit = 1 and cscart_product_prices.usergroup_id in (0,1)"
        }
      }
    ]
  }
}

Result

product_id price
461 4506000.0000
462 3897000.0000
854 1680000.0000
856 2280000.0000
858 3080000.0000
1750 1020600.0000
1751 1020600.0000
1753 1058400.0000
4267 1400000.0000
4268 1400000.0000
4271 1400000.0000
4272 1400000.0000
5768 1940000.0000
5769 2376000.0000
5771 1105800.0000
5775 2500000.0000
6468 1500000.0000
6545 1345000.0000
33721 1500000.0000
33724 3500000.0000
33725 2000000.0000
34053 2500000.0000
35470 3500000.0000
35471 8000000.0000
35475 2500000.0000
35734 1100000.0000
40312 2500000.0000
41226 1200000.0000
41616 1440000.0000
47855 3290000.0000
48939 5400000.0000
49290 1350000.0000