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