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 (
    10156, 10023, 10103, 10026, 10074, 10088, 
    10174, 10233, 10226, 10219, 10244, 
    10105, 10157, 10160, 10059, 9972, 10247, 
    10274, 10294, 10022, 10104, 10261, 
    9952, 10159, 10161, 10225, 10254, 10255, 
    10273, 9937, 9968, 10071, 10272, 9969, 
    10047, 10050, 10056, 10093, 10232, 
    10238
  ) 
  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.00236

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "46.01"
    },
    "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": 80,
        "rows_produced_per_join": 15,
        "filtered": "19.99",
        "index_condition": "(`softwarepirmam_hewadelivard_cscart_4`.`cscart_product_prices`.`product_id` in (10156,10023,10103,10026,10074,10088,10174,10233,10226,10219,10244,10105,10157,10160,10059,9972,10247,10274,10294,10022,10104,10261,9952,10159,10161,10225,10254,10255,10273,9937,9968,10071,10272,9969,10047,10050,10056,10093,10232,10238))",
        "cost_info": {
          "read_cost": "44.41",
          "eval_cost": "1.60",
          "prefix_cost": "46.01",
          "data_read_per_join": "383"
        },
        "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
9937 63000.00000000
9952 21000.00000000
9968 28000.00000000
9969 75000.00000000
9972 112000.00000000
10022 10000.00000000
10023 15000.00000000
10026 18000.00000000
10047 21000.00000000
10050 9000.00000000
10056 35000.00000000
10059 194000.00000000
10071 60000.00000000
10074 70000.00000000
10088 60000.00000000
10093 21000.00000000
10103 6000.00000000
10104 203000.00000000
10105 63000.00000000
10156 33000.00000000
10157 52000.00000000
10159 25000.00000000
10160 9000.00000000
10161 89000.00000000
10174 82000.00000000
10219 16000.00000000
10225 15000.00000000
10226 9000.00000000
10232 22000.00000000
10233 1030000.00000000
10238 12000.00000000
10244 636000.00000000
10247 86000.00000000
10254 18000.00000000
10255 16000.00000000
10261 43000.00000000
10272 10000.00000000
10273 67000.00000000
10274 152000.00000000
10294 10000.00000000