Replace the pump. This poses a serious risk of electrocution.
The inner wires may be insulated, but it's the outer black insulation that makes it waterproof, and safe to have line voltage (230v in the Netherlands, in your case) directly in the water. With that outer casing split, it's possible the salt water has a direct tube leading it to the inside of the motor.