Probably the easiest way is to always add vert or pan as a keyword, or use some other key.
I do not know that it is possible to filter as an aspect ratio, even if it were, all my pans vary in this regard, so it would be necessary to be able to set a "more than" operator to dig them out.