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 (
    11309, 11430, 11479, 11362, 11520, 11600, 
    11128, 11414, 11535, 11633, 11199, 
    11390, 11399, 11530, 11236, 11289, 
    11462, 11136, 11193, 11352, 11458, 
    11267, 11293, 11308
  ) 
  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.00122

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 (11309,11430,11479,11362,11520,11600,11128,11414,11535,11633,11199,11390,11399,11530,11236,11289,11462,11136,11193,11352,11458,11267,11293,11308)) 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
11128 289500.00000000
11136 273000.00000000
11193 330000.00000000
11199 306000.00000000
11236 330000.00000000
11267 271500.00000000
11289 247500.00000000
11293 264000.00000000
11308 289500.00000000
11309 327000.00000000
11352 388500.00000000
11362 312000.00000000
11390 271500.00000000
11399 331500.00000000
11414 289500.00000000
11430 367500.00000000
11458 312000.00000000
11462 294000.00000000
11479 273000.00000000
11520 294000.00000000
11530 273000.00000000
11535 273000.00000000
11600 273000.00000000
11633 271500.00000000