I made a code that makes it work well, evaluates the value of column 2 (plan) for each of the elements in column one (nrocaja). The plan is a list of lists serialized as a BLOB, which the code retrieves, deserializes and evaluates each of the elements of the list if it matches the one I propose. I do not put the code because it is complex, if necessary, they let me know and I upload it. The question is, since I really need you to look at all the elements of the table, is it possible to reduce the time it takes to do it? I have read that doing more specific searches reduces time but it is the opposite of what I need. Is there any way or I should change the way to store and retrieve the information?