Simple pagination using offset and limit.