SELECT * FROM contact_info where agent_id = ANY($1);