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