optimized very slow cassandra query with local cache