SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{bce2010383f2e6487e24f2728039513386c40447bc2b3031d137aed682d98a37}Büchenbeuren{bce2010383f2e6487e24f2728039513386c40447bc2b3031d137aed682d98a37}' OR prCity = 'Büchenbeuren' OR prZip = 'Büchenbeuren' OR prStreet LIKE '{bce2010383f2e6487e24f2728039513386c40447bc2b3031d137aed682d98a37}Büchenbeuren{bce2010383f2e6487e24f2728039513386c40447bc2b3031d137aed682d98a37}' OR prCountry = 'Büchenbeuren') AND (prLocation LIKE '{bce2010383f2e6487e24f2728039513386c40447bc2b3031d137aed682d98a37}Germany{bce2010383f2e6487e24f2728039513386c40447bc2b3031d137aed682d98a37}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{bce2010383f2e6487e24f2728039513386c40447bc2b3031d137aed682d98a37}Germany{bce2010383f2e6487e24f2728039513386c40447bc2b3031d137aed682d98a37}' OR prCountry = 'Germany')