Enhancing searchable symmetric encryption performance through optimal locality