BUG: `HDFStore.select` does not handle arithmetic operators correctly
I am trying to use arithmetic operations inside a `where` clause to select rows from a table stored via the `pandas.HDFStore` class. My concrete example would be something like `(A % 3) == 0`. Unfortunately, this kind of conditions does not seem to be possible in the current implementation, although https://www.pytables.org/usersguide/condition_syntax.html seems to suggest otherwise.

#### Code Sample

```python
import numpy as np
import pandas as pd

df = pd.DataFrame({'A': np.arange(0, 10)})

with pd.HDFStore('test.h5') as s:
    s.put("test", df, format='t', data_columns=['A'])

    print(s.select("test", where=["(A % 3) == 0"])
```

#### Problem Description
The condition fails to parse. It seems that the `A % 3` is interpreted as a boolean expression which obviously fails. Especially when loading the whole table into memory is not an option, filtering via such arithmetic expressions should be possible. PyTables seems to support this already, but it doesn't work in pandas.

```
Traceback (most recent call last):
  File "C:\Python38\lib\code.py", line 90, in runcode
    exec(code, self.locals)
  File "<input>", line 1, in <module>
  File "D:\Studies\14 Master Thesis\Project\.venv\lib\site-packages\pandas\io\pytables.py", line 845, in select
    return it.get_result()
  File "D:\Studies\14 Master Thesis\Project\.venv\lib\site-packages\pandas\io\pytables.py", line 1913, in get_result
    results = self.func(self.start, self.stop, where)
  File "D:\Studies\14 Master Thesis\Project\.venv\lib\site-packages\pandas\io\pytables.py", line 829, in func
    return s.read(start=_start, stop=_stop, where=_where, columns=columns)
  File "D:\Studies\14 Master Thesis\Project\.venv\lib\site-packages\pandas\io\pytables.py", line 4458, in read
    result = self._read_axes(where=where, start=start, stop=stop)
  File "D:\Studies\14 Master Thesis\Project\.venv\lib\site-packages\pandas\io\pytables.py", line 3662, in _read_axes
    values = selection.select()
  File "D:\Studies\14 Master Thesis\Project\.venv\lib\site-packages\pandas\io\pytables.py", line 5179, in select
    return self.table.table.read_where(
  File "D:\Studies\14 Master Thesis\Project\.venv\lib\site-packages\tables\table.py", line 1542, in read_where
    self._where(condition, condvars, start, stop, step)]
  File "D:\Studies\14 Master Thesis\Project\.venv\lib\site-packages\tables\table.py", line 1504, in _where
    compiled = self._compile_condition(condition, condvars)
  File "D:\Studies\14 Master Thesis\Project\.venv\lib\site-packages\tables\table.py", line 1359, in _compile_condition
    compiled = compile_condition(condition, typemap, indexedcols)
  File "D:\Studies\14 Master Thesis\Project\.venv\lib\site-packages\tables\conditions.py", line 411, in compile_condition
    raise TypeError("condition ``%s`` does not have a boolean type"
TypeError: condition ``(A % 3)`` does not have a boolean type
```

#### Expected Output
A dataframe containing only rows 0, 3, 6, 9 is printed

#### Output of ``pd.show_versions()``

<details>

INSTALLED VERSIONS
------------------
commit           : 2cb96529396d93b46abab7bbc73a208e708c642e
python           : 3.8.0.final.0
python-bits      : 64
OS               : Windows
OS-release       : 10
Version          : 10.0.19041
machine          : AMD64
processor        : Intel64 Family 6 Model 158 Stepping 9, GenuineIntel
byteorder        : little
LC_ALL           : None
LANG             : None
LOCALE           : English_United States.1252
pandas           : 1.2.4
numpy            : 1.20.2
pytz             : 2021.1
dateutil         : 2.8.1
pip              : 21.0.1
setuptools       : 54.1.2
Cython           : None
pytest           : None
hypothesis       : None
sphinx           : None
blosc            : None
feather          : None
xlsxwriter       : None
lxml.etree       : None
html5lib         : None
pymysql          : None
psycopg2         : None
jinja2           : None
IPython          : None
pandas_datareader: None
bs4              : None
bottleneck       : None
fsspec           : None
fastparquet      : None
gcsfs            : None
matplotlib       : None
numexpr          : 2.7.3
odfpy            : None
openpyxl         : None
pandas_gbq       : None
pyarrow          : None
pyxlsb           : None
s3fs             : None
scipy            : 1.6.1
sqlalchemy       : None
tables           : 3.6.1
tabulate         : None
xarray           : None
xlrd             : None
xlwt             : None
numba            : None

</details>
