Very rough querying across dbs which is not performant.
Add interval query.