SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{92cbc4e33eed19d14511f876a3a52a1e4e1ccdd1f885170a40b21f9efebd6ae5}Heemsen{92cbc4e33eed19d14511f876a3a52a1e4e1ccdd1f885170a40b21f9efebd6ae5}' OR prCity = 'Heemsen' OR prZip = 'Heemsen' OR prStreet LIKE '{92cbc4e33eed19d14511f876a3a52a1e4e1ccdd1f885170a40b21f9efebd6ae5}Heemsen{92cbc4e33eed19d14511f876a3a52a1e4e1ccdd1f885170a40b21f9efebd6ae5}' OR prCountry = 'Heemsen') AND (prLocation LIKE '{92cbc4e33eed19d14511f876a3a52a1e4e1ccdd1f885170a40b21f9efebd6ae5}Germany{92cbc4e33eed19d14511f876a3a52a1e4e1ccdd1f885170a40b21f9efebd6ae5}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{92cbc4e33eed19d14511f876a3a52a1e4e1ccdd1f885170a40b21f9efebd6ae5}Germany{92cbc4e33eed19d14511f876a3a52a1e4e1ccdd1f885170a40b21f9efebd6ae5}' OR prCountry = 'Germany')