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