select * from :table: where server_id = :server_id: and id1 = :id1: and id2 = :id2: and group_id = :group_id:;