SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{1d6c46a5171e84e54206eca9a3690663da37098c58fbb455af284abe270015da}Riedstadt{1d6c46a5171e84e54206eca9a3690663da37098c58fbb455af284abe270015da}' OR prCity = 'Riedstadt' OR prZip = 'Riedstadt' OR prStreet LIKE '{1d6c46a5171e84e54206eca9a3690663da37098c58fbb455af284abe270015da}Riedstadt{1d6c46a5171e84e54206eca9a3690663da37098c58fbb455af284abe270015da}' OR prCountry = 'Riedstadt') AND (prLocation LIKE '{1d6c46a5171e84e54206eca9a3690663da37098c58fbb455af284abe270015da}/{1d6c46a5171e84e54206eca9a3690663da37098c58fbb455af284abe270015da}' OR prCity = '/' OR prZip = '/' OR prStreet LIKE '{1d6c46a5171e84e54206eca9a3690663da37098c58fbb455af284abe270015da}/{1d6c46a5171e84e54206eca9a3690663da37098c58fbb455af284abe270015da}' OR prCountry = '/') AND (prLocation LIKE '{1d6c46a5171e84e54206eca9a3690663da37098c58fbb455af284abe270015da}Leeheim{1d6c46a5171e84e54206eca9a3690663da37098c58fbb455af284abe270015da}' OR prCity = 'Leeheim' OR prZip = 'Leeheim' OR prStreet LIKE '{1d6c46a5171e84e54206eca9a3690663da37098c58fbb455af284abe270015da}Leeheim{1d6c46a5171e84e54206eca9a3690663da37098c58fbb455af284abe270015da}' OR prCountry = 'Leeheim') AND (prLocation LIKE '{1d6c46a5171e84e54206eca9a3690663da37098c58fbb455af284abe270015da}Germany{1d6c46a5171e84e54206eca9a3690663da37098c58fbb455af284abe270015da}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{1d6c46a5171e84e54206eca9a3690663da37098c58fbb455af284abe270015da}Germany{1d6c46a5171e84e54206eca9a3690663da37098c58fbb455af284abe270015da}' OR prCountry = 'Germany')