Small talk is fine, but when someone isn't willfully trying to engage in small talk and just is walking through a ritual to ask me a question, it seems better to skip the ritual and get to the point. Instead of "Hi [name]", them waiting for me to reply, me waiting for them to reply, and them sending their question, they could write "Hi [name], [question]" in their initial message. There are no disadvantages to this and plenty of advantages.