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 (
    47011, 47012, 47013, 47014, 47015, 47016, 
    47017, 47018, 47019, 47020, 47022, 
    47023, 47024, 47004, 46993, 46991, 
    46982, 46822, 46751, 46749, 46694, 
    46696, 46709, 46714, 46715, 46716, 
    46717, 46718, 46719, 46720
  ) 
  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.13631

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": 7.102270126,
              "attached_condition": "cscart_product_prices.lower_limit <=> 1 and cscart_product_prices.product_id in (47011,47012,47013,47014,47015,47016,47017,47018,47019,47020,47022,47023,47024,47004,46993,46991,46982,46822,46751,46749,46694,46696,46709,46714,46715,46716,46717,46718,46719,46720) and cscart_product_prices.usergroup_id in (0,1)"
            }
          }
        ]
      }
    }
  }
}

Result

product_id price
46694 2200000.0000
46696 385000.0000
46709 620000.0000
46714 220000.0000
46715 390000.0000
46716 320000.0000
46717 420000.0000
46718 75000.0000
46719 30000.0000
46720 75000.0000
46749 480000.0000
46751 190000.0000
46822 450000.0000
46982 1200000.0000
46991 35000.0000
46993 355000.0000
47004 85000.0000
47011 290000.0000
47012 290000.0000
47013 290000.0000
47014 290000.0000
47015 290000.0000
47016 290000.0000
47017 290000.0000
47018 290000.0000
47019 290000.0000
47020 550000.0000
47022 550000.0000
47023 550000.0000
47024 550000.0000