SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'bbf930ca6344a651ebd3ecfa8b94f167c102804b6411b1f65bbac6195e6fbdb1' 
  AND token = 'hO956RdPVrec/pj7w3+tbgndkc3eu+iDi43Tnc0jQHQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00035

JSON explain

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