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 (
    548, 554, 330, 546, 541, 542, 534, 533, 
    536, 545, 552, 544, 551, 549, 532, 531, 
    535, 537, 543, 553, 540, 547, 538
  ) 
  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.00080

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "20.73"
    },
    "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": 46,
        "rows_produced_per_join": 46,
        "filtered": "100.00",
        "cost_info": {
          "read_cost": "16.13",
          "eval_cost": "4.60",
          "prefix_cost": "20.73",
          "data_read_per_join": "1K"
        },
        "used_columns": [
          "product_id",
          "price",
          "percentage_discount",
          "lower_limit",
          "usergroup_id"
        ],
        "attached_condition": "((`aomnia_com`.`cscart_product_prices`.`lower_limit` = 1) and (`aomnia_com`.`cscart_product_prices`.`product_id` in (548,554,330,546,541,542,534,533,536,545,552,544,551,549,532,531,535,537,543,553,540,547,538)) and (`aomnia_com`.`cscart_product_prices`.`usergroup_id` in (0,1)))"
      }
    }
  }
}

Result

product_id price
330 140.00000000
531 15.00000000
532 20.00000000
533 20.00000000
534 25.00000000
535 12.00000000
536 20.00000000
537 1.00000000
538 12.00000000
540 69.00000000
541 0.00000000
542 20.00000000
543 49.00000000
544 20.00000000
545 39.00000000
546 39.00000000
547 15.00000000
548 1.00000000
549 40.00000000
551 40.00000000
552 15.00000000
553 70.00000000
554 120.00000000