WordPress meta query for serialize associated array meta value

Serialize array value is:

a:13:{s:7:"relaxed";a:7:{s:4:"name";s:7:"Relaxed";s:5:"votes";i:377;s:7:"term_id";s:5:"28595";s:4:"slug";s:7:"relaxed";s:4:"rank";i:1;s:6:"status";b:1;s:4:"icon";s:70:"https://example.com/wp-content/uploads/2020/12/Relaxed.svg";}s:5:"happy";a:7:{s:4:"name";s:5:"Happy";s:5:"votes";i:293;s:7:"term_id";s:5:"28596";s:4:"slug";s:5:"happy";s:4:"rank";i:2;s:6:"status";b:1;s:4:"icon";s:68:"https://example.com/wp-content/uploads/2020/12/Happy.svg";}s:8:"euphoric";a:7:{s:4:"name";s:8:"Euphoric";s:5:"votes";i:267;s:7:"term_id";s:5:"28597";s:4:"slug";s:8:"euphoric";s:4:"rank";i:3;s:6:"status";b:1;s:4:"icon";s:71:"https://example.com/wp-content/uploads/2020/12/Euphoric.svg";}s:8:"uplifted";a:7:{s:4:"name";s:8:"Uplifted";s:5:"votes";i:191;s:7:"term_id";s:5:"28598";s:4:"slug";s:8:"uplifted";s:4:"rank";i:4;s:6:"status";b:1;s:4:"icon";s:71:"https://example.com/wp-content/uploads/2020/12/Uplifted.svg";}s:6:"sleepy";a:7:{s:4:"name";s:6:"Sleepy";s:5:"votes";i:181;s:7:"term_id";s:5:"28599";s:4:"slug";s:6:"sleepy";s:4:"rank";i:5;s:6:"status";b:1;s:4:"icon";s:69:"https://example.com/wp-content/uploads/2020/12/Sleepy.svg";}s:6:"hungry";a:7:{s:4:"name";s:6:"Hungry";s:5:"votes";i:178;s:7:"term_id";s:5:"28600";s:4:"slug";s:6:"hungry";s:4:"rank";i:6;s:6:"status";b:1;s:4:"icon";s:69:"https://example.com/wp-content/uploads/2021/01/Hungry.svg";}s:6:"giggly";a:7:{s:4:"name";s:6:"Giggly";s:5:"votes";i:122;s:7:"term_id";s:5:"28602";s:4:"slug";s:6:"giggly";s:4:"rank";i:7;s:6:"status";b:1;s:4:"icon";s:69:"https://example.com/wp-content/uploads/2021/01/Giggly.svg";}s:8:"creative";a:7:{s:4:"name";s:8:"Creative";s:5:"votes";i:109;s:7:"term_id";s:5:"28601";s:4:"slug";s:8:"creative";s:4:"rank";i:8;s:6:"status";b:1;s:4:"icon";s:71:"https://example.com/wp-content/uploads/2021/01/Creative.svg";}s:6:"tingly";a:7:{s:4:"name";s:6:"Tingly";s:5:"votes";i:107;s:7:"term_id";s:5:"28605";s:4:"slug";s:6:"tingly";s:4:"rank";i:9;s:6:"status";b:1;s:4:"icon";s:69:"https://example.com/wp-content/uploads/2021/01/Tingly.svg";}s:7:"focused";a:7:{s:4:"name";s:7:"Focused";s:5:"votes";i:102;s:7:"term_id";s:5:"28603";s:4:"slug";s:7:"focused";s:4:"rank";i:10;s:6:"status";b:1;s:4:"icon";s:70:"https://example.com/wp-content/uploads/2021/01/focused.svg";}s:9:"talkative";a:7:{s:4:"name";s:9:"Talkative";s:5:"votes";i:99;s:7:"term_id";s:5:"28606";s:4:"slug";s:9:"talkative";s:4:"rank";i:11;s:6:"status";b:1;s:4:"icon";s:72:"https://example.com/wp-content/uploads/2021/01/Talkative.svg";}s:7:"aroused";a:7:{s:4:"name";s:7:"Aroused";s:5:"votes";i:74;s:7:"term_id";s:5:"28607";s:4:"slug";s:7:"aroused";s:4:"rank";i:12;s:6:"status";b:1;s:4:"icon";s:70:"https://example.com/wp-content/uploads/2021/01/Aroused.svg";}s:9:"energetic";a:7:{s:4:"name";s:9:"Energetic";s:5:"votes";i:65;s:7:"term_id";s:5:"28604";s:4:"slug";s:9:"energetic";s:4:"rank";i:13;s:6:"status";b:1;s:4:"icon";s:72:"https://example.com/wp-content/uploads/2021/01/Energetic.svg";}} 

And data in array format:

Array (     [relaxed] => Array         (             [name] => Relaxed             [votes] => 377             [term_id] => 28595             [slug] => relaxed             [rank] => 1             [status] => 1             [icon] => https://example.com/wp-content/uploads/2020/12/Relaxed.svg         )      [happy] => Array         (             [name] => Happy             [votes] => 293             [term_id] => 28596             [slug] => happy             [rank] => 2             [status] => 1             [icon] => https://example.com/wp-content/uploads/2020/12/Happy.svg         )      [euphoric] => Array         (             [name] => Euphoric             [votes] => 267             [term_id] => 28597             [slug] => euphoric             [rank] => 3             [status] => 1             [icon] => https://example.com/wp-content/uploads/2020/12/Euphoric.svg         )      [uplifted] => Array         (             [name] => Uplifted             [votes] => 191             [term_id] => 28598             [slug] => uplifted             [rank] => 4             [status] => 1             [icon] => https://example.com/wp-content/uploads/2020/12/Uplifted.svg         )      [sleepy] => Array         (             [name] => Sleepy             [votes] => 181             [term_id] => 28599             [slug] => sleepy             [rank] => 5             [status] => 1             [icon] => https://example.com/wp-content/uploads/2020/12/Sleepy.svg         )      [hungry] => Array         (             [name] => Hungry             [votes] => 178             [term_id] => 28600             [slug] => hungry             [rank] => 6             [status] => 1             [icon] => https://example.com/wp-content/uploads/2021/01/Hungry.svg         )      [giggly] => Array         (             [name] => Giggly             [votes] => 122             [term_id] => 28602             [slug] => giggly             [rank] => 7             [status] => 1             [icon] => https://example.com/wp-content/uploads/2021/01/Giggly.svg         )      [creative] => Array         (             [name] => Creative             [votes] => 109             [term_id] => 28601             [slug] => creative             [rank] => 8             [status] => 1             [icon] => https://example.com/wp-content/uploads/2021/01/Creative.svg         )      [tingly] => Array         (             [name] => Tingly             [votes] => 107             [term_id] => 28605             [slug] => tingly             [rank] => 9             [status] => 1             [icon] => https://example.com/wp-content/uploads/2021/01/Tingly.svg         )      [focused] => Array         (             [name] => Focused             [votes] => 102             [term_id] => 28603             [slug] => focused             [rank] => 10             [status] => 1             [icon] => https://example.com/wp-content/uploads/2021/01/focused.svg         )      [talkative] => Array         (             [name] => Talkative             [votes] => 99             [term_id] => 28606             [slug] => talkative             [rank] => 11             [status] => 1             [icon] => https://example.com/wp-content/uploads/2021/01/Talkative.svg         )      [aroused] => Array         (             [name] => Aroused             [votes] => 74             [term_id] => 28607             [slug] => aroused             [rank] => 12             [status] => 1             [icon] => https://example.com/wp-content/uploads/2021/01/Aroused.svg         )      [energetic] => Array         (             [name] => Energetic             [votes] => 65             [term_id] => 28604             [slug] => energetic             [rank] => 13             [status] => 1             [icon] => https://example.com/wp-content/uploads/2021/01/Energetic.svg         )  ) 

I want to match the slug and get rank between 1 to 5 only. Let me know if there any solution for this.