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