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