I thought it was looking a gift horse in the mouth. Something about gum health being indicative of the age or health of the horse, and it being disrespectful to critically examine a gift in front of the giver.
Yeah, only the saying is slightly older than online product price lookups. It's the other way around, looking up prices now is akin to what looking a gift horse in rhe mouth has always been.