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