SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{c8faf0163e283dec212021318751cb035e7c6e04bea517998c8afa9350e18f6e}Linnich{c8faf0163e283dec212021318751cb035e7c6e04bea517998c8afa9350e18f6e}' OR prCity = 'Linnich' OR prZip = 'Linnich' OR prStreet LIKE '{c8faf0163e283dec212021318751cb035e7c6e04bea517998c8afa9350e18f6e}Linnich{c8faf0163e283dec212021318751cb035e7c6e04bea517998c8afa9350e18f6e}' OR prCountry = 'Linnich') AND (prLocation LIKE '{c8faf0163e283dec212021318751cb035e7c6e04bea517998c8afa9350e18f6e}/{c8faf0163e283dec212021318751cb035e7c6e04bea517998c8afa9350e18f6e}' OR prCity = '/' OR prZip = '/' OR prStreet LIKE '{c8faf0163e283dec212021318751cb035e7c6e04bea517998c8afa9350e18f6e}/{c8faf0163e283dec212021318751cb035e7c6e04bea517998c8afa9350e18f6e}' OR prCountry = '/') AND (prLocation LIKE '{c8faf0163e283dec212021318751cb035e7c6e04bea517998c8afa9350e18f6e}Welz{c8faf0163e283dec212021318751cb035e7c6e04bea517998c8afa9350e18f6e}' OR prCity = 'Welz' OR prZip = 'Welz' OR prStreet LIKE '{c8faf0163e283dec212021318751cb035e7c6e04bea517998c8afa9350e18f6e}Welz{c8faf0163e283dec212021318751cb035e7c6e04bea517998c8afa9350e18f6e}' OR prCountry = 'Welz') AND (prLocation LIKE '{c8faf0163e283dec212021318751cb035e7c6e04bea517998c8afa9350e18f6e}Germany{c8faf0163e283dec212021318751cb035e7c6e04bea517998c8afa9350e18f6e}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{c8faf0163e283dec212021318751cb035e7c6e04bea517998c8afa9350e18f6e}Germany{c8faf0163e283dec212021318751cb035e7c6e04bea517998c8afa9350e18f6e}' OR prCountry = 'Germany')