Related, though not exactly what you describe, a pedant is someone who is overly concerned with minutiae and loves to show off their (not always useful) knowledge. Pedants would rarely admit to surprise or wonder at new information, because they believe they already know things that are more worth knowing.
Pedant is more related to intelligence than condescending, as people can be condescending about things other than intelligence.
The condescending gym employee took a look at me and recommended I start with five pound weights.
Be aware that the adjective form pedantic in everyday usage holds connotations associated more with being long-winded and making use of complex words and jargon when not always appropriate to show off your vocabulary.