SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{3540e3c5ca59f1cb3dae0b0b2690d153120a3a854ce656b50d3d38fc34a166eb}Villa{3540e3c5ca59f1cb3dae0b0b2690d153120a3a854ce656b50d3d38fc34a166eb}' OR prCity = 'Villa' OR prZip = 'Villa' OR prStreet LIKE '{3540e3c5ca59f1cb3dae0b0b2690d153120a3a854ce656b50d3d38fc34a166eb}Villa{3540e3c5ca59f1cb3dae0b0b2690d153120a3a854ce656b50d3d38fc34a166eb}' OR prCountry = 'Villa') AND (prLocation LIKE '{3540e3c5ca59f1cb3dae0b0b2690d153120a3a854ce656b50d3d38fc34a166eb}estense{3540e3c5ca59f1cb3dae0b0b2690d153120a3a854ce656b50d3d38fc34a166eb}' OR prCity = 'estense' OR prZip = 'estense' OR prStreet LIKE '{3540e3c5ca59f1cb3dae0b0b2690d153120a3a854ce656b50d3d38fc34a166eb}estense{3540e3c5ca59f1cb3dae0b0b2690d153120a3a854ce656b50d3d38fc34a166eb}' OR prCountry = 'estense') AND (prLocation LIKE '{3540e3c5ca59f1cb3dae0b0b2690d153120a3a854ce656b50d3d38fc34a166eb}Italy{3540e3c5ca59f1cb3dae0b0b2690d153120a3a854ce656b50d3d38fc34a166eb}' OR prCity = 'Italy' OR prZip = 'Italy' OR prStreet LIKE '{3540e3c5ca59f1cb3dae0b0b2690d153120a3a854ce656b50d3d38fc34a166eb}Italy{3540e3c5ca59f1cb3dae0b0b2690d153120a3a854ce656b50d3d38fc34a166eb}' OR prCountry = 'Italy')