$sql = "SELECT * FROM `scl_orders` WHERE JSON_SEARCH(`items`, 'one', :status, null, '$.*.status') IS NOT NULL";
$res = Yii::$app->db->createCommand($sql)->bindValue(':status', $status)->queryAll();
SELECT * FROM features
WHERE feature->"$.properties.STREET" = 'MARKET'
$status = '["10", "10", "10", "10"]';
$sql = "SELECT * FROM `scl_orders` o WHERE o.items->'$.status' = :status";
$db = Yii::$app->db->createCommand($sql)->bindValue(':status', $status)->queryAll();