SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{31e82ae5d5039582b659ef054211518c51f51475117a64959e56f1625dba6d41}Bad{31e82ae5d5039582b659ef054211518c51f51475117a64959e56f1625dba6d41}' OR prCity = 'Bad' OR prZip = 'Bad' OR prStreet LIKE '{31e82ae5d5039582b659ef054211518c51f51475117a64959e56f1625dba6d41}Bad{31e82ae5d5039582b659ef054211518c51f51475117a64959e56f1625dba6d41}' OR prCountry = 'Bad') AND (prLocation LIKE '{31e82ae5d5039582b659ef054211518c51f51475117a64959e56f1625dba6d41}Lippspringe{31e82ae5d5039582b659ef054211518c51f51475117a64959e56f1625dba6d41}' OR prCity = 'Lippspringe' OR prZip = 'Lippspringe' OR prStreet LIKE '{31e82ae5d5039582b659ef054211518c51f51475117a64959e56f1625dba6d41}Lippspringe{31e82ae5d5039582b659ef054211518c51f51475117a64959e56f1625dba6d41}' OR prCountry = 'Lippspringe') AND (prLocation LIKE '{31e82ae5d5039582b659ef054211518c51f51475117a64959e56f1625dba6d41}Germany{31e82ae5d5039582b659ef054211518c51f51475117a64959e56f1625dba6d41}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{31e82ae5d5039582b659ef054211518c51f51475117a64959e56f1625dba6d41}Germany{31e82ae5d5039582b659ef054211518c51f51475117a64959e56f1625dba6d41}' OR prCountry = 'Germany')