@Phil ****
you should make a new topic asking about it, BUT the short answer is you can apply for it from a thai consulate in the USA.
The only consulates that issue the 10 year Non-O-X visa are Chicago, Los Angeles, New York, or Washington DC.
Look on their website to see the requirements.