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 (
    11102, 11112, 10470, 7527, 7638, 7744, 
    7758, 8863, 8979, 8990, 9642, 10045, 
    10123, 10199, 10253, 10257, 10268, 
    10270, 10279, 10281, 10297, 10310, 
    10316, 10326
  ) 
  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.00096

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "33.01"
    },
    "grouping_operation": {
      "using_filesort": false,
      "table": {
        "table_name": "cscart_product_prices",
        "access_type": "range",
        "possible_keys": [
          "usergroup",
          "product_id",
          "lower_limit",
          "usergroup_id"
        ],
        "key": "product_id",
        "used_key_parts": [
          "product_id"
        ],
        "key_length": "3",
        "rows_examined_per_scan": 60,
        "rows_produced_per_join": 11,
        "filtered": "19.99",
        "index_condition": "(`softwarepirmam_hewadelivard_cscart_4`.`cscart_product_prices`.`product_id` in (11102,11112,10470,7527,7638,7744,7758,8863,8979,8990,9642,10045,10123,10199,10253,10257,10268,10270,10279,10281,10297,10310,10316,10326))",
        "cost_info": {
          "read_cost": "31.81",
          "eval_cost": "1.20",
          "prefix_cost": "33.01",
          "data_read_per_join": "287"
        },
        "used_columns": [
          "product_id",
          "price",
          "percentage_discount",
          "lower_limit",
          "usergroup_id"
        ],
        "attached_condition": "((`softwarepirmam_hewadelivard_cscart_4`.`cscart_product_prices`.`lower_limit` = 1) and (`softwarepirmam_hewadelivard_cscart_4`.`cscart_product_prices`.`usergroup_id` in (0,1)))"
      }
    }
  }
}

Result

product_id price
7527 261000.00000000
7638 64000.00000000
7744 122000.00000000
7758 174000.00000000
8863 199000.00000000
8979 670000.00000000
8990 1024000.00000000
9642 165000.00000000
10045 60000.00000000
10123 50000.00000000
10199 2200000.00000000
10253 21000.00000000
10257 13000.00000000
10268 10000.00000000
10270 13000.00000000
10279 21000.00000000
10281 10000.00000000
10297 12000.00000000
10310 3600000.00000000
10316 1890000.00000000
10326 660000.00000000
10470 50000.00000000
11102 85000.00000000
11112 90000.00000000