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 (
    62986, 60602, 61531, 60603, 62979, 59412, 
    62982, 60601, 60604, 60821, 62984, 
    61557, 64364, 61558, 60659, 61565, 
    61684, 63827, 60799, 61070, 61072, 
    64778, 63084, 63096
  ) 
  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.00091

JSON explain

{
  "query_block": {
    "select_id": 1,
    "table": {
      "table_name": "cscart_product_prices",
      "access_type": "range",
      "possible_keys": ["usergroup", "product_id", "lower_limit", "usergroup_id"],
      "key": "product_id",
      "key_length": "9",
      "used_key_parts": ["product_id", "usergroup_id", "lower_limit"],
      "rowid_filter": {
        "range": {
          "key": "lower_limit",
          "used_key_parts": ["lower_limit", "product_id", "usergroup_id"]
        },
        "rows": 48,
        "selectivity_pct": 1.779095626
      },
      "rows": 48,
      "filtered": 100,
      "index_condition": "cscart_product_prices.lower_limit = 1 and cscart_product_prices.product_id in (62986,60602,61531,60603,62979,59412,62982,60601,60604,60821,62984,61557,64364,61558,60659,61565,61684,63827,60799,61070,61072,64778,63084,63096) and cscart_product_prices.usergroup_id in (0,1)"
    }
  }
}

Result

product_id price
59412 156.000000
60601 282.000000
60602 275.000000
60603 328.000000
60604 315.000000
60659 350.000000
60799 270.000000
60821 295.000000
61070 340.000000
61072 370.000000
61531 270.000000
61557 290.000000
61558 260.000000
61565 270.000000
61684 250.000000
62979 245.000000
62982 275.000000
62984 389.000000
62986 340.000000
63084 280.000000
63096 240.000000
63827 395.000000
64364 200.000000
64778 280.000000