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