SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{b9b22bf2aa9c3f155355eb0f22cd6e309556bc9c0e0ef1c8219a41531aa47235}Großthiemig{b9b22bf2aa9c3f155355eb0f22cd6e309556bc9c0e0ef1c8219a41531aa47235}' OR prCity = 'Großthiemig' OR prZip = 'Großthiemig' OR prStreet LIKE '{b9b22bf2aa9c3f155355eb0f22cd6e309556bc9c0e0ef1c8219a41531aa47235}Großthiemig{b9b22bf2aa9c3f155355eb0f22cd6e309556bc9c0e0ef1c8219a41531aa47235}' OR prCountry = 'Großthiemig') AND (prLocation LIKE '{b9b22bf2aa9c3f155355eb0f22cd6e309556bc9c0e0ef1c8219a41531aa47235}Germany{b9b22bf2aa9c3f155355eb0f22cd6e309556bc9c0e0ef1c8219a41531aa47235}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{b9b22bf2aa9c3f155355eb0f22cd6e309556bc9c0e0ef1c8219a41531aa47235}Germany{b9b22bf2aa9c3f155355eb0f22cd6e309556bc9c0e0ef1c8219a41531aa47235}' OR prCountry = 'Germany')