minad/lmdb — pull request #31 by vjoel (2014-09-14 02:44:55+00:00)
Title: Add Cursor#next_range for iterating up to a specified key.

Not sure if there is a better way to do this through the MDB API. I'll ask on their mailing list.