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 (
    64822, 62061, 61489, 64781, 64757, 64906, 
    64735, 64776, 60815, 64793, 62669, 
    64785, 64847, 64751, 64900, 64789, 
    64871, 64963, 64857, 65091, 64848, 
    64659, 65522, 65672
  ) 
  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.00106

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 (64822,62061,61489,64781,64757,64906,64735,64776,60815,64793,62669,64785,64847,64751,64900,64789,64871,64963,64857,65091,64848,64659,65522,65672) and cscart_product_prices.usergroup_id in (0,1)"
    }
  }
}

Result

product_id price
60815 227.000000
61489 245.000000
62061 295.000000
62669 460.000000
64659 370.000000
64735 278.000000
64751 265.000000
64757 230.000000
64776 305.000000
64781 305.000000
64785 315.000000
64789 315.000000
64793 295.000000
64822 305.000000
64847 359.000000
64848 296.000000
64857 730.000000
64871 392.000000
64900 399.000000
64906 385.000000
64963 340.000000
65091 285.000000
65522 801.000000
65672 314.000000