SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'f939d4889f42232700dbd63e3d5613f0e162fed3afa89a5b65aa763fceb50a24' 
  AND token = 'ylY2JLAsWh/TxU53cuXaDONFl9Uc3i3i4xlSuIjA/Us=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00025

JSON explain

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