implement composite key support for the rows command - workaround mysql not supporting BETWEEN or ORDER BY with tuples