SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{0ad974d13a07590eed977c8d108945f17f9f6902e69a4f9b0af1b6d298745893}Weiden{0ad974d13a07590eed977c8d108945f17f9f6902e69a4f9b0af1b6d298745893}' OR prCity = 'Weiden' OR prZip = 'Weiden' OR prStreet LIKE '{0ad974d13a07590eed977c8d108945f17f9f6902e69a4f9b0af1b6d298745893}Weiden{0ad974d13a07590eed977c8d108945f17f9f6902e69a4f9b0af1b6d298745893}' OR prCountry = 'Weiden') AND (prLocation LIKE '{0ad974d13a07590eed977c8d108945f17f9f6902e69a4f9b0af1b6d298745893}i.{0ad974d13a07590eed977c8d108945f17f9f6902e69a4f9b0af1b6d298745893}' OR prCity = 'i.' OR prZip = 'i.' OR prStreet LIKE '{0ad974d13a07590eed977c8d108945f17f9f6902e69a4f9b0af1b6d298745893}i.{0ad974d13a07590eed977c8d108945f17f9f6902e69a4f9b0af1b6d298745893}' OR prCountry = 'i.') AND (prLocation LIKE '{0ad974d13a07590eed977c8d108945f17f9f6902e69a4f9b0af1b6d298745893}d.{0ad974d13a07590eed977c8d108945f17f9f6902e69a4f9b0af1b6d298745893}' OR prCity = 'd.' OR prZip = 'd.' OR prStreet LIKE '{0ad974d13a07590eed977c8d108945f17f9f6902e69a4f9b0af1b6d298745893}d.{0ad974d13a07590eed977c8d108945f17f9f6902e69a4f9b0af1b6d298745893}' OR prCountry = 'd.') AND (prLocation LIKE '{0ad974d13a07590eed977c8d108945f17f9f6902e69a4f9b0af1b6d298745893}OPf.{0ad974d13a07590eed977c8d108945f17f9f6902e69a4f9b0af1b6d298745893}' OR prCity = 'OPf.' OR prZip = 'OPf.' OR prStreet LIKE '{0ad974d13a07590eed977c8d108945f17f9f6902e69a4f9b0af1b6d298745893}OPf.{0ad974d13a07590eed977c8d108945f17f9f6902e69a4f9b0af1b6d298745893}' OR prCountry = 'OPf.') AND (prLocation LIKE '{0ad974d13a07590eed977c8d108945f17f9f6902e69a4f9b0af1b6d298745893}Germany{0ad974d13a07590eed977c8d108945f17f9f6902e69a4f9b0af1b6d298745893}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{0ad974d13a07590eed977c8d108945f17f9f6902e69a4f9b0af1b6d298745893}Germany{0ad974d13a07590eed977c8d108945f17f9f6902e69a4f9b0af1b6d298745893}' OR prCountry = 'Germany')