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 (
    12, 232, 18, 1, 227, 60, 201, 233, 152, 
    34, 278, 46, 45, 8, 44, 181
  ) 
  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.00051

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "41.21"
    },
    "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": 18,
        "rows_produced_per_join": 3,
        "filtered": "19.38",
        "index_condition": "(`rajansecarter_15_june_mve`.`cscart_product_prices`.`product_id` in (12,232,18,1,227,60,201,233,152,34,278,46,45,8,44,181))",
        "cost_info": {
          "read_cost": "40.51",
          "eval_cost": "0.70",
          "prefix_cost": "41.21",
          "data_read_per_join": "83"
        },
        "used_columns": [
          "product_id",
          "price",
          "percentage_discount",
          "lower_limit",
          "usergroup_id"
        ],
        "attached_condition": "((`rajansecarter_15_june_mve`.`cscart_product_prices`.`lower_limit` = 1) and (`rajansecarter_15_june_mve`.`cscart_product_prices`.`usergroup_id` in (0,1)))"
      }
    }
  }
}

Result

product_id price
1 6000.00000000
8 849.99000000
12 300.00000000
18 3000.00000000
34 25.00000000
44 25.00000000
45 74.00000000
46 21.00000000
60 2000.00000000
152 700.00000000
181 3000.00000000
201 2700.00000000
227 2000.00000000
232 79.95000000
233 4000.00000000
278 1000.00000000