SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '2af30e50b938149ba1337911026f8065d74f98f3c5402c3a6f5e2b15a5b6309e' 
  AND token = 'sUD4KBNwYWgiuUCE4/p6q4bB4GiR2oI4xB7yY3uy/c8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

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