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