Sandhyavandanam before the age of Vishwamitra?
In every age the Gayatri mantra is heard by a sage named Vishwamitra.. In this section of Ramanujacharya's Sri Bhashya, his commentary on the Brahma Sutras, Ramanujacharya explains how sages with the same names hear the same mantras after undergoing Tapasya:
As words such as Indra and Vasishtha, which denote gods and Rishis, denote (not individuals only, but) classes, and as the creation of those beings is preceded by their being suggested to the creative mind through those words; for this reason the eternity of the Veda admits of being reconciled with what scripture says about the mantras and kândas (sections) of the sacred text having 'makers' and about Rishis seeing the hymns; cp. such passages as 'He chooses the makers of mantras'; 'Reverence to the Rishis who are the makers of mantras'; 'That is Agni; this is a hymn of Visvâmitra.' For by means of these very texts Pragâpati presents to his own mind the characteristics and powers of the different Rishis who make the different sections, hymns, and mantras, thereupon creates them endowed with those characteristics and powers, and appoints them to remember the very same sections, hymns, &c. The Rishis being thus gifted by Pragâpati with the requisite powers, undergo suitable preparatory austerities and finally see the mantras, and so on, proclaimed by the Vasishthas and other Rishis of former ages of the world, perfect in all their sounds and accents, without having learned them from the recitation of a teacher. There is thus no conflict between the eternity of the Veda and the fact that the Rishis are the makers of its sections, hymns, and so on.
The idea is the Brahma uses the Vedas as a blueprint for the creation of the world. In particular Brahma, knowing that certain mantras have certain sages' names associated with them, proceeds to create sages with those very names.
By the way, the fact that the Vedas describe things that are common to every age is the reason why the Vedas seem to refer to specific stories despite being eternal; see my answer here.
Note: “The question: Sandhyavandanam before the age of Vishwamitra?” is licensed by Stack Exchange Inc (https://hinduism.stackexchange.com/); user contributions licensed under CC BY-SA.