add query construction with ability to set range key in between two values