Query parsing and transformation
In order to avoid security issues we need to:
- parse input SQL query
- ensure it is only SELECT on allowed tables of CardanoDBSync
- modify it as appropriate to get a:
- single-shot query
- trigger to monitor
- wallet script interface