Better approach to getting a single row