SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '0c12ea91eaaf2ddf68272fa488e417262a854d03430f26fc9eea435e3ef65e25' 
  AND token = 'H4VGOND4Sjg1/22GUF2bHgFYxieCU0iSXSngIofsIkc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

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