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 (
    6382, 6384, 6335, 6405, 6490, 8976, 6495, 
    8960, 6494, 10324, 8979, 8990, 11170, 
    8993, 11162, 11175
  ) 
  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.00111

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "15.71"
    },
    "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": 26,
        "rows_produced_per_join": 5,
        "filtered": "19.99",
        "index_condition": "(`softwarepirmam_hewadelivard_cscart_4`.`cscart_product_prices`.`product_id` in (6382,6384,6335,6405,6490,8976,6495,8960,6494,10324,8979,8990,11170,8993,11162,11175))",
        "cost_info": {
          "read_cost": "15.19",
          "eval_cost": "0.52",
          "prefix_cost": "15.71",
          "data_read_per_join": "124"
        },
        "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
6335 580000.00000000
6382 395000.00000000
6384 520000.00000000
6405 510000.00000000
6490 499000.00000000
6494 738000.00000000
6495 874000.00000000
8960 455000.00000000
8976 590000.00000000
8979 670000.00000000
8990 1024000.00000000
8993 870000.00000000
10324 699000.00000000
11162 245000.00000000
11170 350000.00000000
11175 275000.00000000