SELECT senderid
FROM sender
WHERE sender = $1 AND realname = $2 AND avatarurl = $3
