If you have a Spanish language version of your website for users in Mexico, the URL should be structured as yourwebsite.com/mx/es. This makes it clear to search engines which version of the page to serve to users.