I'm sorry, but are you really losing that much productivity by being a bit more human and replying to that hello, asking how the other person this? in any case, once the question is asked, you will be context switching and trying to find that answer.
I find that saying hello and then waiting is more practical. If the other person is busy, then they won't reply and they'll reply at a more convenient time.