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 (
    15098, 13182, 16680, 16559, 14050, 14053, 
    14056, 14058, 14060, 14061, 16728, 
    16560, 888, 16556, 16558, 16557, 14664, 
    16611, 16613, 16612, 16614, 16553, 
    16439, 17204, 14477, 17138, 16615, 
    16622, 16616, 16554
  ) 
  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.00101

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "43.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": 79,
        "rows_produced_per_join": 11,
        "filtered": "14.40",
        "index_condition": "(`dev_yourmart_co_bw`.`cscart_product_prices`.`product_id` in (15098,13182,16680,16559,14050,14053,14056,14058,14060,14061,16728,16560,888,16556,16558,16557,14664,16611,16613,16612,16614,16553,16439,17204,14477,17138,16615,16622,16616,16554))",
        "cost_info": {
          "read_cost": "41.92",
          "eval_cost": "1.14",
          "prefix_cost": "43.06",
          "data_read_per_join": "273"
        },
        "used_columns": [
          "product_id",
          "price",
          "percentage_discount",
          "lower_limit",
          "usergroup_id"
        ],
        "attached_condition": "((`dev_yourmart_co_bw`.`cscart_product_prices`.`lower_limit` = 1) and (`dev_yourmart_co_bw`.`cscart_product_prices`.`usergroup_id` in (0,1)))"
      }
    }
  }
}

Result

product_id price
888 270.30000000
13182 1470.00000000
14050 287.90000000
14053 287.90000000
14056 287.90000000
14058 287.90000000
14060 287.90000000
14061 287.90000000
14477 450.00000000
14664 800.00000000
15098 532.60000000
16439 51.10000000
16553 4267.50000000
16554 396.20000000
16556 225.45000000
16557 203.60000000
16558 467.20000000
16559 119.50000000
16560 1568.60000000
16611 8649.30000000
16612 931.40000000
16613 204.80000000
16614 2178.40000000
16615 3186.30000000
16616 10289.70000000
16622 204.20000000
16680 421.80000000
16728 22990.37000000
17138 1753.80000000
17204 924.96000000