SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{7badab2df0cc5a2d72a8a9dc100f6ce93f47888fd08c623759f03469fc2fe04e}Sinsheim{7badab2df0cc5a2d72a8a9dc100f6ce93f47888fd08c623759f03469fc2fe04e}' OR prCity = 'Sinsheim' OR prZip = 'Sinsheim' OR prStreet LIKE '{7badab2df0cc5a2d72a8a9dc100f6ce93f47888fd08c623759f03469fc2fe04e}Sinsheim{7badab2df0cc5a2d72a8a9dc100f6ce93f47888fd08c623759f03469fc2fe04e}' OR prCountry = 'Sinsheim') AND (prLocation LIKE '{7badab2df0cc5a2d72a8a9dc100f6ce93f47888fd08c623759f03469fc2fe04e}/{7badab2df0cc5a2d72a8a9dc100f6ce93f47888fd08c623759f03469fc2fe04e}' OR prCity = '/' OR prZip = '/' OR prStreet LIKE '{7badab2df0cc5a2d72a8a9dc100f6ce93f47888fd08c623759f03469fc2fe04e}/{7badab2df0cc5a2d72a8a9dc100f6ce93f47888fd08c623759f03469fc2fe04e}' OR prCountry = '/') AND (prLocation LIKE '{7badab2df0cc5a2d72a8a9dc100f6ce93f47888fd08c623759f03469fc2fe04e}Reihen{7badab2df0cc5a2d72a8a9dc100f6ce93f47888fd08c623759f03469fc2fe04e}' OR prCity = 'Reihen' OR prZip = 'Reihen' OR prStreet LIKE '{7badab2df0cc5a2d72a8a9dc100f6ce93f47888fd08c623759f03469fc2fe04e}Reihen{7badab2df0cc5a2d72a8a9dc100f6ce93f47888fd08c623759f03469fc2fe04e}' OR prCountry = 'Reihen') AND (prLocation LIKE '{7badab2df0cc5a2d72a8a9dc100f6ce93f47888fd08c623759f03469fc2fe04e}Germany{7badab2df0cc5a2d72a8a9dc100f6ce93f47888fd08c623759f03469fc2fe04e}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{7badab2df0cc5a2d72a8a9dc100f6ce93f47888fd08c623759f03469fc2fe04e}Germany{7badab2df0cc5a2d72a8a9dc100f6ce93f47888fd08c623759f03469fc2fe04e}' OR prCountry = 'Germany')