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