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 (
    65070, 65008, 65044, 65052, 65123, 65065, 
    65060, 65000, 65056, 65525, 65655, 
    65656, 65658, 65810, 65820, 65806, 
    65800, 65817, 65659, 65657, 65789, 
    65895, 65937, 65888
  ) 
  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.00121

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 (65070,65008,65044,65052,65123,65065,65060,65000,65056,65525,65655,65656,65658,65810,65820,65806,65800,65817,65659,65657,65789,65895,65937,65888) and cscart_product_prices.usergroup_id in (0,1)"
    }
  }
}

Result

product_id price
65000 370.000000
65008 500.000000
65044 480.000000
65052 430.000000
65056 485.000000
65060 460.000000
65065 435.000000
65070 430.000000
65123 700.000000
65525 986.000000
65655 700.000000
65656 725.000000
65657 725.000000
65658 775.000000
65659 880.000000
65789 711.000000
65800 2540.000000
65806 1167.000000
65810 1250.000000
65817 1046.000000
65820 1078.000000
65888 545.000000
65895 872.000000
65937 715.000000