SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{bcd682228bc2e3853f24acd352800105177407429f1abf306904eda4c15d77c1}Wallenhorst-Lechtingen{bcd682228bc2e3853f24acd352800105177407429f1abf306904eda4c15d77c1}' OR prCity = 'Wallenhorst-Lechtingen' OR prZip = 'Wallenhorst-Lechtingen' OR prStreet LIKE '{bcd682228bc2e3853f24acd352800105177407429f1abf306904eda4c15d77c1}Wallenhorst-Lechtingen{bcd682228bc2e3853f24acd352800105177407429f1abf306904eda4c15d77c1}' OR prCountry = 'Wallenhorst-Lechtingen') AND (prLocation LIKE '{bcd682228bc2e3853f24acd352800105177407429f1abf306904eda4c15d77c1}Germany{bcd682228bc2e3853f24acd352800105177407429f1abf306904eda4c15d77c1}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{bcd682228bc2e3853f24acd352800105177407429f1abf306904eda4c15d77c1}Germany{bcd682228bc2e3853f24acd352800105177407429f1abf306904eda4c15d77c1}' OR prCountry = 'Germany')