SELECT * FROM agent WHERE id = ANY($1);