Borrowed from a Nahuan language; cf. Classical Nahuatl mexcalli (from metl (“maguey”) + ixca (“cook”) + -lli).
Practice speaking and memorizing "mezcal" and many other words and sentences in Spanish.