Returns the pending record a request names, dropping expired ones on the way past.
the record's id
the record, or null
Returns the pending record a request names, dropping expired ones on the way past.