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 (
    43825, 6092, 35731, 23261, 40382, 47656, 
    3021, 47600, 6093, 48998, 2292, 1895, 
    47657, 47654, 47601, 47984, 455, 35249, 
    1412, 40761, 41170, 3471, 462, 47660, 
    4367, 1892, 5455, 1781, 1755, 1754, 
    2280, 3620
  ) 
  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.01702

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 (43825,6092,35731,23261,40382,47656,3021,47600,6093,48998,2292,1895,47657,47654,47601,47984,455,35249,1412,40761,41170,3471,462,47660,4367,1892,5455,1781,1755,1754,2280,3620)",
          "attached_condition": "cscart_product_prices.lower_limit = 1 and cscart_product_prices.usergroup_id in (0,1)"
        }
      }
    ]
  }
}

Result

product_id price
455 3328000.0000
462 3897000.0000
1412 66000.0000
1754 484920.0000
1755 966000.0000
1781 999000.0000
1892 1399000.0000
1895 498000.0000
2280 1200000.0000
2292 850000.0000
3021 1050000.0000
3471 999000.0000
3620 550000.0000
4367 2430000.0000
5455 3200000.0000
6092 1200000.0000
6093 1650000.0000
23261 1114000.0000
35249 1395000.0000
35731 2000000.0000
40382 120000.0000
40761 775000.0000
41170 225000.0000
43825 577000.0000
47600 310000.0000
47601 310000.0000
47654 500000.0000
47656 515000.0000
47657 285000.0000
47660 880000.0000
47984 600000.0000
48998 595000.0000