Index and query for dynamic properties

How to index and query for dynamic properties column?

I would appreciate your advice.

{

‘event’: ‘Purchase’,
‘properties’ : {

‘ItemType’: ‘shoes’,

‘ItemModel’: ‘Nike’,

‘Price’: 3.2,

‘PurchaseDate’: ‘2017-10-25’

}

}

{

‘event’: ‘share’,
‘properties’ : {

‘sns’: ‘facebook’,

‘date’: ‘2017-10-21’

}

}