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 (
    10479, 10484, 10539, 10541, 10544, 10987, 
    11005, 11050, 11057, 11065, 11076, 
    11091, 11180, 11184, 11248, 11253, 
    11312, 7738, 7748, 7756
  ) 
  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.00089

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "28.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": "usergroup",
        "used_key_parts": [
          "product_id",
          "usergroup_id",
          "lower_limit"
        ],
        "key_length": "9",
        "rows_examined_per_scan": 40,
        "rows_produced_per_join": 40,
        "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 (10479,10484,10539,10541,10544,10987,11005,11050,11057,11065,11076,11091,11180,11184,11248,11253,11312,7738,7748,7756)) and (`softwarepirmam_hewadelivard_cscart_4`.`cscart_product_prices`.`usergroup_id` in (0,1)))",
        "cost_info": {
          "read_cost": "24.01",
          "eval_cost": "4.00",
          "prefix_cost": "28.01",
          "data_read_per_join": "960"
        },
        "used_columns": [
          "product_id",
          "price",
          "percentage_discount",
          "lower_limit",
          "usergroup_id"
        ]
      }
    }
  }
}

Result

product_id price
7738 218000.00000000
7748 192000.00000000
7756 200000.00000000
10479 179000.00000000
10484 44750.00000000
10539 170000.00000000
10541 424750.00000000
10544 509750.00000000
10987 95000.00000000
11005 145000.00000000
11050 95000.00000000
11057 35000.00000000
11065 165000.00000000
11076 45000.00000000
11091 55000.00000000
11180 1000000.00000000
11184 50000.00000000
11248 245000.00000000
11253 210000.00000000
11312 1100000.00000000