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 (
    6969, 7090, 7108, 7181, 7201, 7203, 7207, 
    7301, 7312, 6890, 6894, 6910, 6919, 
    6974, 6998, 7114, 7298, 7327, 7143, 
    7309, 7314, 7063
  ) 
  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.00141

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "15.41"
    },
    "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": 22,
        "rows_produced_per_join": 4,
        "filtered": "19.99",
        "index_condition": "(`softwarepirmam_hewadelivard_cscart_4`.`cscart_product_prices`.`product_id` in (6969,7090,7108,7181,7201,7203,7207,7301,7312,6890,6894,6910,6919,6974,6998,7114,7298,7327,7143,7309,7314,7063))",
        "cost_info": {
          "read_cost": "14.97",
          "eval_cost": "0.44",
          "prefix_cost": "15.41",
          "data_read_per_join": "105"
        },
        "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
6890 27000.00000000
6894 45000.00000000
6910 33000.00000000
6919 16000.00000000
6969 256000.00000000
6974 39000.00000000
6998 549000.00000000
7063 51000.00000000
7090 199000.00000000
7108 110000.00000000
7114 25000.00000000
7143 449000.00000000
7181 450000.00000000
7201 51000.00000000
7203 230000.00000000
7207 128000.00000000
7298 24000.00000000
7301 97000.00000000
7309 98000.00000000
7312 82000.00000000
7314 59000.00000000
7327 64000.00000000