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