processing NextToken for select queries over 2500