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