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