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