SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{b74f5e54c7bc5fe1b62c3b49fc24cbfa6085b4fb9366409e87ce60ea0a3ad3b5}Erftstadt{b74f5e54c7bc5fe1b62c3b49fc24cbfa6085b4fb9366409e87ce60ea0a3ad3b5}' OR prCity = 'Erftstadt' OR prZip = 'Erftstadt' OR prStreet LIKE '{b74f5e54c7bc5fe1b62c3b49fc24cbfa6085b4fb9366409e87ce60ea0a3ad3b5}Erftstadt{b74f5e54c7bc5fe1b62c3b49fc24cbfa6085b4fb9366409e87ce60ea0a3ad3b5}' OR prCountry = 'Erftstadt') AND (prLocation LIKE '{b74f5e54c7bc5fe1b62c3b49fc24cbfa6085b4fb9366409e87ce60ea0a3ad3b5}/{b74f5e54c7bc5fe1b62c3b49fc24cbfa6085b4fb9366409e87ce60ea0a3ad3b5}' OR prCity = '/' OR prZip = '/' OR prStreet LIKE '{b74f5e54c7bc5fe1b62c3b49fc24cbfa6085b4fb9366409e87ce60ea0a3ad3b5}/{b74f5e54c7bc5fe1b62c3b49fc24cbfa6085b4fb9366409e87ce60ea0a3ad3b5}' OR prCountry = '/') AND (prLocation LIKE '{b74f5e54c7bc5fe1b62c3b49fc24cbfa6085b4fb9366409e87ce60ea0a3ad3b5}Köttingen{b74f5e54c7bc5fe1b62c3b49fc24cbfa6085b4fb9366409e87ce60ea0a3ad3b5}' OR prCity = 'Köttingen' OR prZip = 'Köttingen' OR prStreet LIKE '{b74f5e54c7bc5fe1b62c3b49fc24cbfa6085b4fb9366409e87ce60ea0a3ad3b5}Köttingen{b74f5e54c7bc5fe1b62c3b49fc24cbfa6085b4fb9366409e87ce60ea0a3ad3b5}' OR prCountry = 'Köttingen') AND (prLocation LIKE '{b74f5e54c7bc5fe1b62c3b49fc24cbfa6085b4fb9366409e87ce60ea0a3ad3b5}Germany{b74f5e54c7bc5fe1b62c3b49fc24cbfa6085b4fb9366409e87ce60ea0a3ad3b5}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{b74f5e54c7bc5fe1b62c3b49fc24cbfa6085b4fb9366409e87ce60ea0a3ad3b5}Germany{b74f5e54c7bc5fe1b62c3b49fc24cbfa6085b4fb9366409e87ce60ea0a3ad3b5}' OR prCountry = 'Germany')