SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{7de21f20323920ab668d046982ae971e050f4a49c6fe4ee0f086818cd661fd18}Wilsecker{7de21f20323920ab668d046982ae971e050f4a49c6fe4ee0f086818cd661fd18}' OR prCity = 'Wilsecker' OR prZip = 'Wilsecker' OR prStreet LIKE '{7de21f20323920ab668d046982ae971e050f4a49c6fe4ee0f086818cd661fd18}Wilsecker{7de21f20323920ab668d046982ae971e050f4a49c6fe4ee0f086818cd661fd18}' OR prCountry = 'Wilsecker') AND (prLocation LIKE '{7de21f20323920ab668d046982ae971e050f4a49c6fe4ee0f086818cd661fd18}Germany{7de21f20323920ab668d046982ae971e050f4a49c6fe4ee0f086818cd661fd18}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{7de21f20323920ab668d046982ae971e050f4a49c6fe4ee0f086818cd661fd18}Germany{7de21f20323920ab668d046982ae971e050f4a49c6fe4ee0f086818cd661fd18}' OR prCountry = 'Germany')