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