SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{459f69ec4accc4bc0fcbc08fafd9b0bfa5ffb308183f409b75fff68cfb6ef796}Freiburg{459f69ec4accc4bc0fcbc08fafd9b0bfa5ffb308183f409b75fff68cfb6ef796}' OR prCity = 'Freiburg' OR prZip = 'Freiburg' OR prStreet LIKE '{459f69ec4accc4bc0fcbc08fafd9b0bfa5ffb308183f409b75fff68cfb6ef796}Freiburg{459f69ec4accc4bc0fcbc08fafd9b0bfa5ffb308183f409b75fff68cfb6ef796}' OR prCountry = 'Freiburg') AND (prLocation LIKE '{459f69ec4accc4bc0fcbc08fafd9b0bfa5ffb308183f409b75fff68cfb6ef796}im{459f69ec4accc4bc0fcbc08fafd9b0bfa5ffb308183f409b75fff68cfb6ef796}' OR prCity = 'im' OR prZip = 'im' OR prStreet LIKE '{459f69ec4accc4bc0fcbc08fafd9b0bfa5ffb308183f409b75fff68cfb6ef796}im{459f69ec4accc4bc0fcbc08fafd9b0bfa5ffb308183f409b75fff68cfb6ef796}' OR prCountry = 'im') AND (prLocation LIKE '{459f69ec4accc4bc0fcbc08fafd9b0bfa5ffb308183f409b75fff68cfb6ef796}Breisgau{459f69ec4accc4bc0fcbc08fafd9b0bfa5ffb308183f409b75fff68cfb6ef796}' OR prCity = 'Breisgau' OR prZip = 'Breisgau' OR prStreet LIKE '{459f69ec4accc4bc0fcbc08fafd9b0bfa5ffb308183f409b75fff68cfb6ef796}Breisgau{459f69ec4accc4bc0fcbc08fafd9b0bfa5ffb308183f409b75fff68cfb6ef796}' OR prCountry = 'Breisgau') AND (prLocation LIKE '{459f69ec4accc4bc0fcbc08fafd9b0bfa5ffb308183f409b75fff68cfb6ef796}Germany{459f69ec4accc4bc0fcbc08fafd9b0bfa5ffb308183f409b75fff68cfb6ef796}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{459f69ec4accc4bc0fcbc08fafd9b0bfa5ffb308183f409b75fff68cfb6ef796}Germany{459f69ec4accc4bc0fcbc08fafd9b0bfa5ffb308183f409b75fff68cfb6ef796}' OR prCountry = 'Germany')