var {row} = await client.query(`select *
                    from tokens
                    where tokentype = 'new-pass' and token = $1
                        and $2 < due
                    limit 1;