Hi farid23,
Thanks for using Apple Support Communities! I see you have a question about an Apple ID sign in attempt notice, and I'd like to help out.
First of all, good job having two-factor authentication, so that you do receive a notice to allow a sign in to an unknown device or internet connection location.
Were you logging in to a VPN when this notice appeared? If so, that explains the different location, as it will appear to where the remote server is actually located. This is shown in this article, under the section titled "What if I don’t recognize the location shown in my sign in notification?" Two-factor authentication for Apple ID
If you were not logging in at the time of the notice, select to "Do Not Allow". I'd also suggest changing your Apple ID password.
Change your Apple ID password
Take care!