SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{d92639f8c9e629e3ee7736969b35468b4136d97aee9fa3d5ce6e6c3315ee949c}Aachen{d92639f8c9e629e3ee7736969b35468b4136d97aee9fa3d5ce6e6c3315ee949c}' OR prCity = 'Aachen' OR prZip = 'Aachen' OR prStreet LIKE '{d92639f8c9e629e3ee7736969b35468b4136d97aee9fa3d5ce6e6c3315ee949c}Aachen{d92639f8c9e629e3ee7736969b35468b4136d97aee9fa3d5ce6e6c3315ee949c}' OR prCountry = 'Aachen') AND (prLocation LIKE '{d92639f8c9e629e3ee7736969b35468b4136d97aee9fa3d5ce6e6c3315ee949c}/{d92639f8c9e629e3ee7736969b35468b4136d97aee9fa3d5ce6e6c3315ee949c}' OR prCity = '/' OR prZip = '/' OR prStreet LIKE '{d92639f8c9e629e3ee7736969b35468b4136d97aee9fa3d5ce6e6c3315ee949c}/{d92639f8c9e629e3ee7736969b35468b4136d97aee9fa3d5ce6e6c3315ee949c}' OR prCountry = '/') AND (prLocation LIKE '{d92639f8c9e629e3ee7736969b35468b4136d97aee9fa3d5ce6e6c3315ee949c}Lichtenbusch{d92639f8c9e629e3ee7736969b35468b4136d97aee9fa3d5ce6e6c3315ee949c}' OR prCity = 'Lichtenbusch' OR prZip = 'Lichtenbusch' OR prStreet LIKE '{d92639f8c9e629e3ee7736969b35468b4136d97aee9fa3d5ce6e6c3315ee949c}Lichtenbusch{d92639f8c9e629e3ee7736969b35468b4136d97aee9fa3d5ce6e6c3315ee949c}' OR prCountry = 'Lichtenbusch') AND (prLocation LIKE '{d92639f8c9e629e3ee7736969b35468b4136d97aee9fa3d5ce6e6c3315ee949c}Germany{d92639f8c9e629e3ee7736969b35468b4136d97aee9fa3d5ce6e6c3315ee949c}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{d92639f8c9e629e3ee7736969b35468b4136d97aee9fa3d5ce6e6c3315ee949c}Germany{d92639f8c9e629e3ee7736969b35468b4136d97aee9fa3d5ce6e6c3315ee949c}' OR prCountry = 'Germany')