Once the court has evidence you've paid the CCJ within a month they'll contact the Registry Trust to remove the judgment from the public register. If you pay off the CCJ more than a month after the judgment, you can't remove it from the register, so it'll appear there for six years.