The only free and comprehensive online etymological dictionary of the Spanish language
querer (Verb, Noun) "to want;" "to love;" "loving"
10th cent. From Latin quærere "to desire." From Proto-Italic *kwai-s-e/o- 'id.' From Proto-Indo-European *ku̯eh2-i̯- 'id.'
Indo-European
Romance
Asturian querer, Portuguese querer, Galician querer, French quérir, Italian chiedere, Aromanian tser, Romanian cere, Sardinian chèrrere
Italic
Oscan κϝαιστορ (kwaistor) "magistrate," Marsian qestur "magistrates"
Balto-Slavic
Old Prussian quāits "desire," Lithuanian kviẽsti "to invite"
Hellenic
Doric πέπᾱμαι (pépamai) "to acquire"

The sense of wanting is a particularly archaic feature in Spanish, a meaning that is not found in Classical Latin or in most Latin dialects. Even though wanting was once part the word's definition in very ancient Latin, it had been lost in all Latin dialects other than Terence Latin by the 2nd cent. BCE (Penny 2002).