SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{c542fb6a273b8f484bddad1888ae3892e40ceb42761ed6d73bb2a4ce233311ce}Langerwehe{c542fb6a273b8f484bddad1888ae3892e40ceb42761ed6d73bb2a4ce233311ce}' OR prCity = 'Langerwehe' OR prZip = 'Langerwehe' OR prStreet LIKE '{c542fb6a273b8f484bddad1888ae3892e40ceb42761ed6d73bb2a4ce233311ce}Langerwehe{c542fb6a273b8f484bddad1888ae3892e40ceb42761ed6d73bb2a4ce233311ce}' OR prCountry = 'Langerwehe') AND (prLocation LIKE '{c542fb6a273b8f484bddad1888ae3892e40ceb42761ed6d73bb2a4ce233311ce}/{c542fb6a273b8f484bddad1888ae3892e40ceb42761ed6d73bb2a4ce233311ce}' OR prCity = '/' OR prZip = '/' OR prStreet LIKE '{c542fb6a273b8f484bddad1888ae3892e40ceb42761ed6d73bb2a4ce233311ce}/{c542fb6a273b8f484bddad1888ae3892e40ceb42761ed6d73bb2a4ce233311ce}' OR prCountry = '/') AND (prLocation LIKE '{c542fb6a273b8f484bddad1888ae3892e40ceb42761ed6d73bb2a4ce233311ce}Luchem{c542fb6a273b8f484bddad1888ae3892e40ceb42761ed6d73bb2a4ce233311ce}' OR prCity = 'Luchem' OR prZip = 'Luchem' OR prStreet LIKE '{c542fb6a273b8f484bddad1888ae3892e40ceb42761ed6d73bb2a4ce233311ce}Luchem{c542fb6a273b8f484bddad1888ae3892e40ceb42761ed6d73bb2a4ce233311ce}' OR prCountry = 'Luchem') AND (prLocation LIKE '{c542fb6a273b8f484bddad1888ae3892e40ceb42761ed6d73bb2a4ce233311ce}Germany{c542fb6a273b8f484bddad1888ae3892e40ceb42761ed6d73bb2a4ce233311ce}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{c542fb6a273b8f484bddad1888ae3892e40ceb42761ed6d73bb2a4ce233311ce}Germany{c542fb6a273b8f484bddad1888ae3892e40ceb42761ed6d73bb2a4ce233311ce}' OR prCountry = 'Germany')