BUG: eval and query not working with ea dtypes
- [x] closes #29618 (Replace xxxx with the GitHub issue number)
- [x] closes #50261
- [x] closes #31913
- [x] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature
- [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit).
- [x] Added [type annotations](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#type-hints) to new arguments/methods/functions.
- [x] Added an entry in the latest `doc/source/whatsnew/vX.X.X.rst` file if fixing a bug or adding a new feature.


This is really ugly, not sure if we want to do this. But could not find another way to make this work
cc @mroeschke could you have a look? Remaining failures were only because pyarrow was not installed in the pipelines in question ci is green now Thanks @phofl 