enlarger lenses are optimized for short distances, but usually work fine at long distances too. If anything, they are usually manufactured to tighter tolerances than taking lenses. The reason they are cheap on ebay, is most people aren't enlarging anymore, so there is a surplus of them. Something in the 135mm+ size would cover 4x5 no problem.