Smart database can now be queried with relevant caching applied