New context manager for simplifying general read queries from mysql