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 (
    6556, 6559, 6558, 6555, 6557, 6522, 6523, 
    6469, 6468, 6664, 6562, 6602, 6622, 
    6485, 6533, 6576, 6502, 6498, 6624, 
    6537, 6546, 6625, 6483, 6609
  ) 
  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.00112

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "16.81"
    },
    "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": 24,
        "rows_produced_per_join": 4,
        "filtered": "19.99",
        "index_condition": "(`softwarepirmam_hewadelivard_cscart_4`.`cscart_product_prices`.`product_id` in (6556,6559,6558,6555,6557,6522,6523,6469,6468,6664,6562,6602,6622,6485,6533,6576,6502,6498,6624,6537,6546,6625,6483,6609))",
        "cost_info": {
          "read_cost": "16.33",
          "eval_cost": "0.48",
          "prefix_cost": "16.81",
          "data_read_per_join": "115"
        },
        "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
6468 58000.00000000
6469 71000.00000000
6483 84000.00000000
6485 102000.00000000
6498 79000.00000000
6502 84000.00000000
6522 75000.00000000
6523 70000.00000000
6533 82000.00000000
6537 91000.00000000
6546 53000.00000000
6555 65000.00000000
6556 96000.00000000
6557 152000.00000000
6558 308000.00000000
6559 213000.00000000
6562 1294000.00000000
6576 131000.00000000
6602 56000.00000000
6609 184000.00000000
6622 55000.00000000
6624 236000.00000000
6625 577000.00000000
6664 67000.00000000