To emulate CRTs...
No need to do ugly scaling then. Even worst CRT was much better quality that scaled to 1024.
Just use fullscreen 640, let the display hardware work on scaling. then some filter to make it look like a CRT.
If for some reason you still want to scale before filters applying, use 1280x960 (doubled original) for best image quality.