SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '3980ca944b6d42e169e496ac4170a829db30b8c155c4d5bfae605afb19407382' 
  AND token = 'bFJO+paCUyES29LT1gBRrEE4+TrTj3s7USokrscAixg=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00031

JSON explain

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