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 (
    286, 278, 280, 282, 247, 248, 241, 244, 
    245, 246, 240, 6
  ) 
  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.00047

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "34.41"
    },
    "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": 16,
        "rows_produced_per_join": 3,
        "filtered": "19.30",
        "index_condition": "(`atulecarter_new_april_setup`.`cscart_product_prices`.`product_id` in (286,278,280,282,247,248,241,244,245,246,240,6))",
        "cost_info": {
          "read_cost": "33.79",
          "eval_cost": "0.62",
          "prefix_cost": "34.41",
          "data_read_per_join": "74"
        },
        "used_columns": [
          "product_id",
          "price",
          "percentage_discount",
          "lower_limit",
          "usergroup_id"
        ],
        "attached_condition": "((`atulecarter_new_april_setup`.`cscart_product_prices`.`lower_limit` = 1) and (`atulecarter_new_april_setup`.`cscart_product_prices`.`usergroup_id` in (0,1)))"
      }
    }
  }
}

Result

product_id price
6 329.99000000
240 499.00000000
241 499.00000000
244 729.99000000
245 699.00000000
246 399.99000000
247 329.49000000
248 372.27000000
278 75.00000000
280 50.00000000
282 75.00000000
286 1200.00000000