I had horrific anxiety, mental racing just like you describe, and it turned out to be related to multiple chemical sensitivity - which probably resulted from longterm mercury exposure. At the time, the panic turned out to be triggered by new carpet and I was much better when I moved out of the apartment. Since then, I find the same symptoms get triggered by petrochemicals/synthetics such as certain finishes on furniture and some plastics.