SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd6595628d88772c57f791fd03141f5d96eb8585078859e4e02c98a1f6d0d21b6' 
  AND token = '6To0ioQ6xG1MtwOov1mHQGJOGj9hJJqLTnlaQO2XILk=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00041

JSON explain

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