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 (
    80280, 80374, 80371, 80418, 80292, 80275, 
    80333, 80270, 80430, 80282, 80385, 
    80358, 80268, 80412, 80337, 80360, 
    80411, 80288, 80432, 80408
  ) 
  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.00151

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "56.07"
    },
    "grouping_operation": {
      "using_filesort": false,
      "table": {
        "table_name": "cscart_product_prices",
        "access_type": "range",
        "possible_keys": [
          "usergroup",
          "product_id",
          "lower_limit",
          "usergroup_id"
        ],
        "key": "usergroup",
        "used_key_parts": [
          "product_id",
          "usergroup_id",
          "lower_limit"
        ],
        "key_length": "9",
        "rows_examined_per_scan": 40,
        "rows_produced_per_join": 40,
        "filtered": "100.00",
        "cost_info": {
          "read_cost": "48.07",
          "eval_cost": "8.00",
          "prefix_cost": "56.07",
          "data_read_per_join": "2K"
        },
        "used_columns": [
          "product_id",
          "price",
          "percentage_discount",
          "lower_limit",
          "usergroup_id"
        ],
        "attached_condition": "((`webmarco`.`cscart_product_prices`.`lower_limit` = 1) and (`webmarco`.`cscart_product_prices`.`product_id` in (80280,80374,80371,80418,80292,80275,80333,80270,80430,80282,80385,80358,80268,80412,80337,80360,80411,80288,80432,80408)) and (`webmarco`.`cscart_product_prices`.`usergroup_id` in (0,1)))"
      }
    }
  }
}

Result

product_id price
80268 749.00000000
80270 749.00000000
80275 2899.00000000
80280 2699.00000000
80282 2949.00000000
80288 4499.00000000
80292 8000.00000000
80333 1900.00000000
80337 179.00000000
80358 1199.00000000
80360 1199.00000000
80371 1199.00000000
80374 1199.00000000
80385 1249.00000000
80408 1349.00000000
80411 1349.00000000
80412 1399.00000000
80418 1399.00000000
80430 1750.00000000
80432 1850.00000000