SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{36a5c17e1008773e08c1517938b7958a1bd06a3f4bfc44f24e4202cbd7ed7acb}Menden{36a5c17e1008773e08c1517938b7958a1bd06a3f4bfc44f24e4202cbd7ed7acb}' OR prCity = 'Menden' OR prZip = 'Menden' OR prStreet LIKE '{36a5c17e1008773e08c1517938b7958a1bd06a3f4bfc44f24e4202cbd7ed7acb}Menden{36a5c17e1008773e08c1517938b7958a1bd06a3f4bfc44f24e4202cbd7ed7acb}' OR prCountry = 'Menden') AND (prLocation LIKE '{36a5c17e1008773e08c1517938b7958a1bd06a3f4bfc44f24e4202cbd7ed7acb}(Sauerland){36a5c17e1008773e08c1517938b7958a1bd06a3f4bfc44f24e4202cbd7ed7acb}' OR prCity = '(Sauerland)' OR prZip = '(Sauerland)' OR prStreet LIKE '{36a5c17e1008773e08c1517938b7958a1bd06a3f4bfc44f24e4202cbd7ed7acb}(Sauerland){36a5c17e1008773e08c1517938b7958a1bd06a3f4bfc44f24e4202cbd7ed7acb}' OR prCountry = '(Sauerland)') AND (prLocation LIKE '{36a5c17e1008773e08c1517938b7958a1bd06a3f4bfc44f24e4202cbd7ed7acb}Germany{36a5c17e1008773e08c1517938b7958a1bd06a3f4bfc44f24e4202cbd7ed7acb}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{36a5c17e1008773e08c1517938b7958a1bd06a3f4bfc44f24e4202cbd7ed7acb}Germany{36a5c17e1008773e08c1517938b7958a1bd06a3f4bfc44f24e4202cbd7ed7acb}' OR prCountry = 'Germany')