Instead of ` = ?` write ` IN (?, ?, ?)` and call the execute once with all three users as argument. But I don't know if this works on all databases.