Find all files in the current working directory that do not end with .cat or .naa, and execute a grep command to search for lines that start with a non-whitespace character followed by an equal sign and a word character.
find $(pwd) -type f ! -name '*.[cat][naa]*' -exec grep -E '^[^#\s]*\s*=\s*\w' '{}' \;