SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{5804f6abeb3bca93d2b2476b4f1ba546511eeabdfbf82a9c27f38aaf8754d2c6}Warstein{5804f6abeb3bca93d2b2476b4f1ba546511eeabdfbf82a9c27f38aaf8754d2c6}' OR prCity = 'Warstein' OR prZip = 'Warstein' OR prStreet LIKE '{5804f6abeb3bca93d2b2476b4f1ba546511eeabdfbf82a9c27f38aaf8754d2c6}Warstein{5804f6abeb3bca93d2b2476b4f1ba546511eeabdfbf82a9c27f38aaf8754d2c6}' OR prCountry = 'Warstein') AND (prLocation LIKE '{5804f6abeb3bca93d2b2476b4f1ba546511eeabdfbf82a9c27f38aaf8754d2c6}Germany{5804f6abeb3bca93d2b2476b4f1ba546511eeabdfbf82a9c27f38aaf8754d2c6}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{5804f6abeb3bca93d2b2476b4f1ba546511eeabdfbf82a9c27f38aaf8754d2c6}Germany{5804f6abeb3bca93d2b2476b4f1ba546511eeabdfbf82a9c27f38aaf8754d2c6}' OR prCountry = 'Germany')