I have a database with four columns corresponding to the geographical coordinates x,y for the start and end position. The columns are:
MySQL allows row constructor comparisons like you show, but the optimizer didn't know how to use an index to help performance until MySQL 5.7.