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 (
    63103, 62334, 62341, 61301, 62339, 63237, 
    62333, 64152, 63240, 63758, 64150, 
    65077, 65078, 65088, 65081, 62577, 
    65085, 63091, 65089, 65083, 65086, 
    65084, 65079, 65080
  ) 
  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.00104

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 (63103,62334,62341,61301,62339,63237,62333,64152,63240,63758,64150,65077,65078,65088,65081,62577,65085,63091,65089,65083,65086,65084,65079,65080) and cscart_product_prices.usergroup_id in (0,1)"
    }
  }
}

Result

product_id price
61301 442.000000
62333 722.000000
62334 674.000000
62339 530.000000
62341 416.000000
62577 410.000000
63091 500.000000
63103 460.000000
63237 919.000000
63240 1136.000000
63758 541.000000
64150 910.000000
64152 1262.000000
65077 465.000000
65078 455.000000
65079 465.000000
65080 455.000000
65081 495.000000
65083 475.000000
65084 450.000000
65085 500.000000
65086 550.000000
65088 545.000000
65089 445.000000