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 (
    64617, 60736, 64615, 62252, 61336, 62253, 
    64614, 60731, 60726, 60750, 60734, 
    61388, 64622, 60741, 64623, 64626, 
    60747, 62254, 60730, 62260, 60740, 
    61387, 60742, 61171
  ) 
  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.00108

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 (64617,60736,64615,62252,61336,62253,64614,60731,60726,60750,60734,61388,64622,60741,64623,64626,60747,62254,60730,62260,60740,61387,60742,61171) and cscart_product_prices.usergroup_id in (0,1)"
    }
  }
}

Result

product_id price
60726 124.000000
60730 216.000000
60731 102.000000
60734 171.000000
60736 156.000000
60740 139.000000
60741 139.000000
60742 124.000000
60747 109.000000
60750 171.000000
61171 156.000000
61336 90.000000
61387 373.000000
61388 267.000000
62252 54.000000
62253 61.000000
62254 61.000000
62260 83.000000
64614 93.000000
64615 145.000000
64617 90.000000
64622 90.000000
64623 90.000000
64626 13.000000