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