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 (
    64919, 65011, 65034, 65055, 65068, 65121, 
    65106, 65019, 65051, 65063, 65111, 
    65047, 64999, 65527, 65675, 65677, 
    65676, 65799, 65797, 65812, 65821, 
    65802, 65819, 65809
  ) 
  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.00191

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 (64919,65011,65034,65055,65068,65121,65106,65019,65051,65063,65111,65047,64999,65527,65675,65677,65676,65799,65797,65812,65821,65802,65819,65809) and cscart_product_prices.usergroup_id in (0,1)"
    }
  }
}

Result

product_id price
64919 465.000000
64999 395.000000
65011 535.000000
65019 535.000000
65034 465.000000
65047 475.000000
65051 455.000000
65055 510.000000
65063 460.000000
65068 455.000000
65106 715.000000
65111 705.000000
65121 725.000000
65527 1011.000000
65675 450.000000
65676 440.000000
65677 510.000000
65797 1438.000000
65799 2377.000000
65802 2551.000000
65809 1079.000000
65812 1194.000000
65819 958.000000
65821 1079.000000