SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'e5612e7826088044071cb48e174099af96b8cc7e7824135329eb741cdad3fae3' 
  AND token = 'cMG3Qymd8nr9nk7alzAEEfgajV3PhHda9jkQEQBYnB8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00043

JSON explain

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