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 (
    9910, 10301, 9759, 9905, 10300, 10304, 
    10307, 10308, 10332, 10340, 10363, 
    9750, 9867, 10302, 10333, 10336, 10341, 
    10343, 9757, 9766, 9902, 9908, 9975, 
    9978
  ) 
  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.00099

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "31.66"
    },
    "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": 57,
        "rows_produced_per_join": 11,
        "filtered": "19.99",
        "index_condition": "(`softwarepirmam_hewadelivard_cscart_4`.`cscart_product_prices`.`product_id` in (9910,10301,9759,9905,10300,10304,10307,10308,10332,10340,10363,9750,9867,10302,10333,10336,10341,10343,9757,9766,9902,9908,9975,9978))",
        "cost_info": {
          "read_cost": "30.52",
          "eval_cost": "1.14",
          "prefix_cost": "31.66",
          "data_read_per_join": "273"
        },
        "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
9750 309000.00000000
9757 266000.00000000
9759 323000.00000000
9766 473000.00000000
9867 351000.00000000
9902 195000.00000000
9905 209000.00000000
9908 235000.00000000
9910 238000.00000000
9975 721500.00000000
9978 940000.00000000
10300 277000.00000000
10301 400000.00000000
10302 369000.00000000
10304 436000.00000000
10307 965000.00000000
10308 965000.00000000
10332 1032000.00000000
10333 1224000.00000000
10336 322000.00000000
10340 521000.00000000
10341 362000.00000000
10343 440000.00000000
10363 625000.00000000