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 (
    246, 240, 6, 66, 166, 214, 219, 221, 223, 
    192, 194, 195, 196, 197, 198, 199
  ) 
  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.00041

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "39.81"
    },
    "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": 17,
        "rows_produced_per_join": 3,
        "filtered": "19.39",
        "index_condition": "(`rajansecarter_15_june_mve`.`cscart_product_prices`.`product_id` in (246,240,6,66,166,214,219,221,223,192,194,195,196,197,198,199))",
        "cost_info": {
          "read_cost": "39.15",
          "eval_cost": "0.66",
          "prefix_cost": "39.81",
          "data_read_per_join": "79"
        },
        "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
6 329.99000000
66 389.95000000
166 749.95000000
192 15.00000000
194 10.60000000
195 1000.00000000
196 17.00000000
197 14.98000000
198 17.99000000
199 29.98000000
214 972.00000000
219 529.99000000
221 2049.00000000
223 499.99000000
240 499.00000000
246 399.99000000