SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{06ee63bb41c2fa0f9c0b5d5ee3717b35328f285c5208731e27dc84188c8191e1}Frankfurt{06ee63bb41c2fa0f9c0b5d5ee3717b35328f285c5208731e27dc84188c8191e1}' OR prCity = 'Frankfurt' OR prZip = 'Frankfurt' OR prStreet LIKE '{06ee63bb41c2fa0f9c0b5d5ee3717b35328f285c5208731e27dc84188c8191e1}Frankfurt{06ee63bb41c2fa0f9c0b5d5ee3717b35328f285c5208731e27dc84188c8191e1}' OR prCountry = 'Frankfurt') AND (prLocation LIKE '{06ee63bb41c2fa0f9c0b5d5ee3717b35328f285c5208731e27dc84188c8191e1}/{06ee63bb41c2fa0f9c0b5d5ee3717b35328f285c5208731e27dc84188c8191e1}' OR prCity = '/' OR prZip = '/' OR prStreet LIKE '{06ee63bb41c2fa0f9c0b5d5ee3717b35328f285c5208731e27dc84188c8191e1}/{06ee63bb41c2fa0f9c0b5d5ee3717b35328f285c5208731e27dc84188c8191e1}' OR prCountry = '/') AND (prLocation LIKE '{06ee63bb41c2fa0f9c0b5d5ee3717b35328f285c5208731e27dc84188c8191e1}Griesheim{06ee63bb41c2fa0f9c0b5d5ee3717b35328f285c5208731e27dc84188c8191e1}' OR prCity = 'Griesheim' OR prZip = 'Griesheim' OR prStreet LIKE '{06ee63bb41c2fa0f9c0b5d5ee3717b35328f285c5208731e27dc84188c8191e1}Griesheim{06ee63bb41c2fa0f9c0b5d5ee3717b35328f285c5208731e27dc84188c8191e1}' OR prCountry = 'Griesheim') AND (prLocation LIKE '{06ee63bb41c2fa0f9c0b5d5ee3717b35328f285c5208731e27dc84188c8191e1}Germany{06ee63bb41c2fa0f9c0b5d5ee3717b35328f285c5208731e27dc84188c8191e1}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{06ee63bb41c2fa0f9c0b5d5ee3717b35328f285c5208731e27dc84188c8191e1}Germany{06ee63bb41c2fa0f9c0b5d5ee3717b35328f285c5208731e27dc84188c8191e1}' OR prCountry = 'Germany')