Feeling well or making progress?
Swedish separates two ideas that English sometimes combines in the same question. The verb må concerns how a person feels, while gå describes how things are going. If a friend has been working on something, asking about its progress may be more fitting than enquiring about their health. A direct wellbeing question is useful when you have time to listen. The wording alone does not determine the depth of the reply; the relationship and situation matter too.
Familiar address is not necessarily disrespectful
The singular pronoun du is a normal choice when speaking directly to another person in contemporary Swedish. You need not look for a special formal equivalent whenever you meet someone older or encounter a person at work. Ni is also the plural pronoun, so it is useful when you are speaking to several people at once. Hur står det till? offers a more formal-sounding option.
From a short answer to fika
If you are invited for fika, a coffee break often shared with other people, you have a natural opportunity to practise conversational Swedish. A brief answer with tack acknowledges the question, while a longer answer might lead to a discussion about your journey or plans for the afternoon. Och du? returns the question to one person. Resist the temptation to fill every moment with words just because you are practising a new language.