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 (
    245, 239, 238, 74, 73, 71, 75, 72, 70, 76, 
    67, 86, 106, 105, 101, 69, 125, 120, 117, 
    113, 68
  ) 
  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.00443

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": 24,
          "filtered": 30.13085365,
          "index_condition": "cscart_product_prices.product_id in (245,239,238,74,73,71,75,72,70,76,67,86,106,105,101,69,125,120,117,113,68)",
          "attached_condition": "cscart_product_prices.lower_limit = 1 and cscart_product_prices.usergroup_id in (0,1)"
        }
      }
    ]
  }
}

Result

product_id price
67 13599.60000000
68 31999.60000000
69 21199.60000000
70 19999.60000000
71 21199.60000000
72 23999.60000000
73 23599.60000000
74 20999.60000000
75 19599.60000000
76 17599.60000000
86 14360.00000000
101 3610.80000000
105 6799.60000000
106 7199.60000000
113 17999.60000000
117 29199.60000000
120 7999.60000000
125 5999.60000000
238 19999.60000000
239 20399.60000000
245 27960.00000000