Thanks for what? I understand that are stating the fact; "I need the key", adding "please" to signify your urgency, but then you say "thanks!" in another sentence, implying that you have received the key, or you are very aware that you will receive a key.
Welcome to the site