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 (
    280, 282, 278, 20, 119, 100, 46, 204, 45, 
    68, 29, 6, 8, 14, 9, 10, 19, 21, 7, 27, 124, 
    50, 51, 49, 48, 54, 44, 194, 137, 153, 
    164, 236, 234, 150, 151, 178, 181, 248, 
    65, 64, 63, 62, 66, 140, 141, 144, 143, 
    142, 13
  ) 
  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.00071

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "153.65"
    },
    "grouping_operation": {
      "using_temporary_table": true,
      "using_filesort": true,
      "cost_info": {
        "sort_cost": "98.00"
      },
      "table": {
        "table_name": "cscart_product_prices",
        "access_type": "ALL",
        "possible_keys": [
          "usergroup",
          "product_id",
          "lower_limit",
          "usergroup_id"
        ],
        "rows_examined_per_scan": 262,
        "rows_produced_per_join": 97,
        "filtered": "37.40",
        "cost_info": {
          "read_cost": "36.05",
          "eval_cost": "19.60",
          "prefix_cost": "55.65",
          "data_read_per_join": "2K"
        },
        "used_columns": [
          "product_id",
          "price",
          "percentage_discount",
          "lower_limit",
          "usergroup_id"
        ],
        "attached_condition": "((`danishecarter_25_march`.`cscart_product_prices`.`lower_limit` = 1) and (`danishecarter_25_march`.`cscart_product_prices`.`product_id` in (280,282,278,20,119,100,46,204,45,68,29,6,8,14,9,10,19,21,7,27,124,50,51,49,48,54,44,194,137,153,164,236,234,150,151,178,181,248,65,64,63,62,66,140,141,144,143,142,13)) and (`danishecarter_25_march`.`cscart_product_prices`.`usergroup_id` in (0,1)))"
      }
    }
  }
}

Result

product_id price
6 329.99000000
7 55.00000000
8 849.99000000
9 999.99000000
10 1199.99000000
13 11.96000000
14 499.99000000
19 79.99000000
20 19.95000000
21 29.99000000
27 55.00000000
29 199.95000000
44 25.00000000
45 74.00000000
46 21.00000000
48 180.00000000
49 120.00000000
50 220.00000000
51 180.00000000
54 269.00000000
62 209.95000000
63 189.95000000
64 189.95000000
65 99.95000000
66 389.95000000
68 799.99000000
100 22.70000000
119 17.99000000
124 4595.00000000
137 0.00000000
140 99.95000000
141 99.95000000
142 399.95000000
143 79.95000000
144 99.95000000
150 120.00000000
151 500.00000000
153 49.99000000
164 249.99000000
178 6.83000000
181 899.99000000
194 10.60000000
204 14.99000000
234 59.99000000
236 299.99000000
248 372.27000000
278 75.00000000
280 50.00000000
282 75.00000000