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 (
    2776, 2771, 2774, 5737, 5728, 2784, 2782, 
    2778, 2779, 10125, 10091, 10053, 5682, 
    2772, 10097, 10267, 10101, 8433, 7578, 
    6234, 11206, 2780, 2781, 2783
  ) 
  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.00100

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "19.06"
    },
    "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": 29,
        "rows_produced_per_join": 5,
        "filtered": "19.99",
        "index_condition": "(`softwarepirmam_hewadelivard_cscart_4`.`cscart_product_prices`.`product_id` in (2776,2771,2774,5737,5728,2784,2782,2778,2779,10125,10091,10053,5682,2772,10097,10267,10101,8433,7578,6234,11206,2780,2781,2783))",
        "cost_info": {
          "read_cost": "18.48",
          "eval_cost": "0.58",
          "prefix_cost": "19.06",
          "data_read_per_join": "139"
        },
        "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
2771 40000.00000000
2772 417000.00000000
2774 73000.00000000
2776 314000.00000000
2778 237000.00000000
2779 164000.00000000
2780 75000.00000000
2781 63000.00000000
2782 34000.00000000
2783 40000.00000000
2784 61000.00000000
5682 59500.00000000
5728 1282500.00000000
5737 823500.00000000
6234 1490000.00000000
7578 462000.00000000
8433 79000.00000000
10053 9000.00000000
10091 13000.00000000
10097 22000.00000000
10101 13000.00000000
10125 235000.00000000
10267 48000.00000000
11206 210000.00000000