SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '2da21d0e0a6a96dce5a45ccb4a8753c49fd79cb9a8cb5543e1c45cefafaccbb7' 
  AND token = 'TdhI8K2v/CMsNPkHgf/Vj4yaRz9qWd3nFO2L9iJvQco=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00038

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}