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