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 (
    11042, 10579, 8636, 8639, 8654, 8754, 
    8774, 8792, 8843, 8860, 8861, 9028, 
    9069, 9106, 9113, 9133, 9135, 9168, 
    9195, 9223, 9253, 9261, 9278, 9331
  ) 
  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.00113

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "18.61"
    },
    "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": 28,
        "rows_produced_per_join": 5,
        "filtered": "19.99",
        "index_condition": "(`softwarepirmam_hewadelivard_cscart_4`.`cscart_product_prices`.`product_id` in (11042,10579,8636,8639,8654,8754,8774,8792,8843,8860,8861,9028,9069,9106,9113,9133,9135,9168,9195,9223,9253,9261,9278,9331))",
        "cost_info": {
          "read_cost": "18.05",
          "eval_cost": "0.56",
          "prefix_cost": "18.61",
          "data_read_per_join": "134"
        },
        "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
8636 61500.00000000
8639 568500.00000000
8654 37500.00000000
8754 17500.00000000
8774 146250.00000000
8792 18000.00000000
8843 85000.00000000
8860 71250.00000000
8861 71250.00000000
9028 50500.00000000
9069 135500.00000000
9106 150000.00000000
9113 100000.00000000
9133 55250.00000000
9135 55250.00000000
9168 121250.00000000
9195 43250.00000000
9223 13000.00000000
9253 179000.00000000
9261 68250.00000000
9278 90000.00000000
9331 7250.00000000
10579 66750.00000000
11042 265000.00000000