If the related query is very close, it may be wrong to choose redis. It is more suitable to choose a product that supports conditional query, such as MongoDB;
If it is not very close, query ABC separately to determine which table can get the smallest result set through the conditional filtering after where; then use this minimum result set to check the other two tables;
In addition, redis supports intersection, but the time complexity is relatively high, and it may not be faster than filtering it yourself; http://redisdoc.com/set/sinter.html
If the related query is very close, it may be wrong to choose redis. It is more suitable to choose a product that supports conditional query, such as MongoDB;
If it is not very close, query ABC separately to determine which table can get the smallest result set through the conditional filtering after where; then use this minimum result set to check the other two tables;
In addition, redis supports intersection, but the time complexity is relatively high, and it may not be faster than filtering it yourself;
http://redisdoc.com/set/sinter.html
Can you use Map table storage?