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 (
    62163, 62981, 62983, 65067, 60825, 60798, 
    60800, 62018, 64944, 64783, 64866, 
    60813, 64753, 64901, 65099, 64795, 
    65095, 64759, 64874, 64791, 64867, 
    64907, 64868, 64824
  ) 
  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.00185

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 (62163,62981,62983,65067,60825,60798,60800,62018,64944,64783,64866,60813,64753,64901,65099,64795,65095,64759,64874,64791,64867,64907,64868,64824) and cscart_product_prices.usergroup_id in (0,1)"
    }
  }
}

Result

product_id price
60798 342.000000
60800 390.000000
60813 227.000000
60825 265.000000
62018 270.000000
62163 340.000000
62981 338.000000
62983 265.000000
64753 252.000000
64759 205.000000
64783 280.000000
64791 290.000000
64795 270.000000
64824 230.000000
64866 936.000000
64867 312.000000
64868 634.000000
64874 374.000000
64901 399.000000
64907 379.000000
64944 313.000000
65067 250.000000
65095 242.000000
65099 242.000000