SELECT 
  ushop_product_prices.product_id, 
  MIN(
    IF(
      ushop_product_prices.percentage_discount = 0, 
      ushop_product_prices.price, 
      ushop_product_prices.price - (
        ushop_product_prices.price * ushop_product_prices.percentage_discount
      )/ 100
    )
  ) AS price 
FROM 
  ushop_product_prices 
WHERE 
  ushop_product_prices.product_id IN (
    430, 459, 468, 450, 461, 440, 457, 432, 
    466, 407, 431, 467, 409, 411, 402, 465, 
    395, 404
  ) 
  AND ushop_product_prices.lower_limit = 1 
  AND ushop_product_prices.usergroup_id IN (0, 1) 
GROUP BY 
  ushop_product_prices.product_id

Query time 0.00053

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "14.41"
    },
    "grouping_operation": {
      "using_filesort": false,
      "table": {
        "table_name": "ushop_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": 22,
        "rows_produced_per_join": 4,
        "filtered": "19.85",
        "index_condition": "(`marketplace`.`ushop_product_prices`.`product_id` in (430,459,468,450,461,440,457,432,466,407,431,467,409,411,402,465,395,404))",
        "cost_info": {
          "read_cost": "13.97",
          "eval_cost": "0.44",
          "prefix_cost": "14.41",
          "data_read_per_join": "104"
        },
        "used_columns": [
          "product_id",
          "price",
          "percentage_discount",
          "lower_limit",
          "usergroup_id"
        ],
        "attached_condition": "((`marketplace`.`ushop_product_prices`.`lower_limit` = 1) and (`marketplace`.`ushop_product_prices`.`usergroup_id` in (0,1)))"
      }
    }
  }
}

Result

product_id price
395 4595.00000000
402 5695.00000000
404 4595.00000000
407 4779.00000000
409 1799.00000000
411 1249.00000000
430 120.00000000
431 500.00000000
432 700.00000000
440 200.00000000
450 145.99000000
457 400.00000000
459 299.97000000
461 899.99000000
465 139.99000000
466 299.99000000
467 299.99000000
468 10.00000000