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 (
    10133, 10120, 10128, 10122, 10217, 10312, 
    10196, 10315, 10317, 10198, 10139, 
    10201, 10216, 10320, 10200, 10121, 
    10134, 10321, 10322, 10323, 10314, 
    10319, 10199, 10202
  ) 
  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.00159

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "33.61"
    },
    "grouping_operation": {
      "using_filesort": false,
      "table": {
        "table_name": "cscart_product_prices",
        "access_type": "range",
        "possible_keys": [
          "usergroup",
          "product_id",
          "lower_limit",
          "usergroup_id"
        ],
        "key": "usergroup",
        "used_key_parts": [
          "product_id",
          "usergroup_id",
          "lower_limit"
        ],
        "key_length": "9",
        "rows_examined_per_scan": 48,
        "rows_produced_per_join": 48,
        "filtered": "100.00",
        "index_condition": "((`softwarepirmam_hewadelivard_cscart_4`.`cscart_product_prices`.`lower_limit` = 1) and (`softwarepirmam_hewadelivard_cscart_4`.`cscart_product_prices`.`product_id` in (10133,10120,10128,10122,10217,10312,10196,10315,10317,10198,10139,10201,10216,10320,10200,10121,10134,10321,10322,10323,10314,10319,10199,10202)) and (`softwarepirmam_hewadelivard_cscart_4`.`cscart_product_prices`.`usergroup_id` in (0,1)))",
        "cost_info": {
          "read_cost": "28.81",
          "eval_cost": "4.80",
          "prefix_cost": "33.61",
          "data_read_per_join": "1K"
        },
        "used_columns": [
          "product_id",
          "price",
          "percentage_discount",
          "lower_limit",
          "usergroup_id"
        ]
      }
    }
  }
}

Result

product_id price
10120 295000.00000000
10121 450000.00000000
10122 499000.00000000
10128 740000.00000000
10133 1900000.00000000
10134 3000000.00000000
10139 4350000.00000000
10196 588000.00000000
10198 630000.00000000
10199 2200000.00000000
10200 800000.00000000
10201 1600000.00000000
10202 2440000.00000000
10216 3600000.00000000
10217 4567000.00000000
10312 850000.00000000
10314 1400000.00000000
10315 1200000.00000000
10317 1555000.00000000
10319 1890000.00000000
10320 2729000.00000000
10321 4400000.00000000
10322 4400000.00000000
10323 6945000.00000000