Late graduation and prospects of getting into a good Master's degree
The time you take to complete a degree should matter little for the future, provided that it isn't explained by laziness or sloth. There are a lot of valid reasons for taking a long time. Medical issues, including depression, especially if now resolved, are one. 

I think you will be judged in any application process just about the same as anyone else would, but perhaps with an asterisk to remind someone to ask you about it. People will want some assurance that the delays of the past won't affect your performance in the future, or will, at least, want to be prepared to deal with that if it comes. 

But, I think that this is a case in which your materials other than grades become much more important. Your Statement of Purpose needs to show a strong commitment to your field and your career. But it is the letters of recommendation that become especially important in such a case. But they needn't try to explain the past, but, rather, to assure a reader of your readiness, commitment, and likelihood of success. 

And it is worth talking to a personal/professional counselor about your mental state and to learn how to cope when things get tough.