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 (
    7192, 7193, 4781, 7218, 7217, 6319, 7216, 
    6807, 6808, 6622, 6624, 6623, 6621, 
    6619, 4734, 4355, 4747, 5743, 130, 7153, 
    4998, 4997, 5656, 5655
  ) 
  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.00054

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "17.26"
    },
    "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": 25,
        "rows_produced_per_join": 4,
        "filtered": "19.12",
        "index_condition": "(`dbggbern`.`cscart_product_prices`.`product_id` in (7192,7193,4781,7218,7217,6319,7216,6807,6808,6622,6624,6623,6621,6619,4734,4355,4747,5743,130,7153,4998,4997,5656,5655))",
        "cost_info": {
          "read_cost": "16.78",
          "eval_cost": "0.48",
          "prefix_cost": "17.26",
          "data_read_per_join": "114"
        },
        "used_columns": [
          "product_id",
          "price",
          "percentage_discount",
          "lower_limit",
          "usergroup_id"
        ],
        "attached_condition": "((`dbggbern`.`cscart_product_prices`.`lower_limit` = 1) and (`dbggbern`.`cscart_product_prices`.`usergroup_id` in (0,1)))"
      }
    }
  }
}

Result

product_id price
130 5.90000000
4355 5.90000000
4734 99.90000000
4747 6.90000000
4781 89.90000000
4997 49.90000000
4998 49.90000000
5655 49.90000000
5656 49.90000000
5743 8.90000000
6319 19.90000000
6619 12.90000000
6621 12.90000000
6622 12.90000000
6623 12.90000000
6624 12.90000000
6807 11.90000000
6808 11.90000000
7153 5.90000000
7192 34.90000000
7193 14.90000000
7216 19.90000000
7217 19.90000000
7218 19.90000000