SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{09152d05441247e93b793066aef2294922582f537c77b1441237027eb642dcb2}Bad{09152d05441247e93b793066aef2294922582f537c77b1441237027eb642dcb2}' OR prCity = 'Bad' OR prZip = 'Bad' OR prStreet LIKE '{09152d05441247e93b793066aef2294922582f537c77b1441237027eb642dcb2}Bad{09152d05441247e93b793066aef2294922582f537c77b1441237027eb642dcb2}' OR prCountry = 'Bad') AND (prLocation LIKE '{09152d05441247e93b793066aef2294922582f537c77b1441237027eb642dcb2}Nauheim{09152d05441247e93b793066aef2294922582f537c77b1441237027eb642dcb2}' OR prCity = 'Nauheim' OR prZip = 'Nauheim' OR prStreet LIKE '{09152d05441247e93b793066aef2294922582f537c77b1441237027eb642dcb2}Nauheim{09152d05441247e93b793066aef2294922582f537c77b1441237027eb642dcb2}' OR prCountry = 'Nauheim') AND (prLocation LIKE '{09152d05441247e93b793066aef2294922582f537c77b1441237027eb642dcb2}Germany{09152d05441247e93b793066aef2294922582f537c77b1441237027eb642dcb2}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{09152d05441247e93b793066aef2294922582f537c77b1441237027eb642dcb2}Germany{09152d05441247e93b793066aef2294922582f537c77b1441237027eb642dcb2}' OR prCountry = 'Germany')