It's been a long time since I saw the Kelvan episode. If I recall correctly, the Kelvans were super intelligent, and had technology far beyond the Federation's. And even for the Kelvans it took-what?-a couple centuries?-to cross the intergalactic void.