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 (
    47592, 6526, 36499, 4043, 6254, 1060, 
    2295, 3753, 23481, 5583, 3767, 3755, 
    48847, 3768, 4637, 4595, 3600, 2083, 
    26319, 4040, 32328, 47279, 4265, 738, 
    36497, 4597, 221, 3640, 47652, 461, 
    4041, 2440
  ) 
  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.06326

JSON explain

{
  "query_block": {
    "select_id": 1,
    "filesort": {
      "sort_key": "cscart_product_prices.product_id",
      "temporary_table": {
        "nested_loop": [
          {
            "table": {
              "table_name": "cscart_product_prices",
              "access_type": "ref",
              "possible_keys": [
                "usergroup",
                "product_id",
                "lower_limit",
                "usergroup_id"
              ],
              "key": "lower_limit",
              "key_length": "3",
              "used_key_parts": ["lower_limit"],
              "ref": ["const"],
              "rows": 25327,
              "filtered": 8.333330154,
              "attached_condition": "cscart_product_prices.lower_limit <=> 1 and cscart_product_prices.product_id in (47592,6526,36499,4043,6254,1060,2295,3753,23481,5583,3767,3755,48847,3768,4637,4595,3600,2083,26319,4040,32328,47279,4265,738,36497,4597,221,3640,47652,461,4041,2440) and cscart_product_prices.usergroup_id in (0,1)"
            }
          }
        ]
      }
    }
  }
}

Result

product_id price
221 180000.0000
461 4506000.0000
738 220000.0000
1060 329000.0000
2083 520000.0000
2295 555000.0000
2440 214500.0000
3600 390000.0000
3640 150000.0000
3753 130000.0000
3755 130000.0000
3767 230000.0000
3768 630000.0000
4040 450000.0000
4041 500000.0000
4043 450000.0000
4265 1650000.0000
4595 610000.0000
4597 500000.0000
4637 336000.0000
5583 780000.0000
6254 500000.0000
6526 100000.0000
23481 800000.0000
26319 90000.0000
32328 259000.0000
36497 35000.0000
36499 35000.0000
47279 360000.0000
47592 484000.0000
47652 645000.0000
48847 540000.0000