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