SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '510739bf19fc017c6ba947ae9ae09353375f00f828ac78e6098792c40224ffbc' 
  AND token = 'tvTlnMc6rZzxSz1h1nMG8KvlZYHn/566Q1Q5rIR84us=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00031

JSON explain

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