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