Fixed the issue that query cache returns the same data for the same SQL but different query methods